Commit Graph

52 Commits

Author SHA1 Message Date
bezoerb
0870adc94e feature: drop cave in favour of postcss-discard 2018-12-19 16:40:28 +01:00
bezoerb
f813627ad0 Move tests to Jest 2018-12-18 12:51:30 +01:00
bezoerb
74fcf95a4a Add temporary fix for breaking svgs 2018-11-29 17:35:58 +01:00
bezoerb
6fa0bd56c8 Bump dependencies 2018-09-15 23:16:53 +02:00
bezoerb
184b7b0c70 fix: consider ignore passed as string 2018-09-15 23:06:59 +02:00
George
b6bd8e8c0c Support minifying extracted css (#237)
* Support minifying extracted css

* Remove broken file reference
2018-04-11 20:07:13 +02:00
midzer
fd15e22353 Remove type attribute (#236)
* Remove type attribute

from <style> element

* fix tests
2018-03-21 11:15:07 +01:00
Ben Zörb
891cfd0429 Fixes inlining if no scripts & stylesheets are present in head 2018-03-18 00:00:47 +01:00
Ben Zörb
f46d291c19 Minor tweaks 2018-03-05 21:19:29 +01:00
XhmikosR
aa4477dd6d Set the onload handler to null. (#231)
As per the loadcss docs, this actually fixes a huge issue with IE 10 and 11 I could test.
2017-12-14 23:26:59 +01:00
Thomas Paillot
5317ba2f55 Upgrade loadCSS dep to 2.0.0 and update code and make it work with this version (#229) 2017-11-29 23:01:45 +01:00
Ben Zörb
39712b80f3 bump deps 2017-05-19 23:33:21 +02:00
Ben Zörb
02b9b1915b Bump deps 2017-03-20 22:42:19 +01:00
Ben Zörb
64a176f7b7 bump xo 2016-10-17 06:38:15 +02:00
Ben Zörb
92fff6f493 Fixed tests after bump 2016-09-02 23:52:54 +02:00
Ben Zörb
4a6b61b99a fixed indent when using extract 2016-04-18 16:49:29 +02:00
Ben Zörb
f724f3f91b minor regex fix 2016-04-18 16:36:33 +02:00
Ben Zörb
388f8749b0 style tweaks 2016-04-18 07:24:12 +02:00
Ben Zörb
7ca65c184d trim empty lines in non-minified css 2016-04-18 07:19:26 +02:00
Ben Zörb
4cef19b374 handle buffer 2016-04-18 06:35:08 +02:00
Ben Zörb
3a56a2d3e2 minor fixes 2016-04-17 23:46:58 +02:00
Ben Zörb
e01d5545bb minify defaults to true 2016-04-17 00:58:04 +02:00
Ben Zörb
075999410f keep format & source order 2016-04-17 00:50:40 +02:00
Ben Zörb
839ded74d2 Update to loadcss v1.2.0 + cssrelpreload 2016-04-14 22:39:29 +02:00
Ben Zörb
0f76755b07 Update to loadcss v1.2.0 + cssrelpreload 2016-04-14 17:26:33 +02:00
Ben Zörb
b020bebf8c Add support for onloadCSS (#47) 2016-02-04 00:18:56 +01:00
Ben Zörb
ae3f2ba581 switched from jshint to xo 2015-11-13 22:59:10 +01:00
Ben Zörb
9a63dc291d Bump deps 2015-11-13 22:29:05 +01:00
Ben Zörb
5a75f6443e removed dependency to npm folder structure 2015-09-20 22:15:17 +02:00
Ben Zörb
091e509ed4 loadcss bump 2015-09-16 06:17:33 +02:00
Ben Zörb
e9c00fee13 loadCSS Tweaks
* skip loadcss initialization on empty link list
* add `selector` option to specify loadCSS before element
2015-07-10 21:55:28 +02:00
Ben Zörb
6d722abbb3 Added CLI tests & bumped loadcss version 2015-06-25 23:27:56 +02:00
Ben Zörb
606cdb4b86 CLI 2015-06-25 06:27:18 +02:00
Ben Zörb
c4e43274a8 Fix #9 2015-06-10 18:07:48 +02:00
Ben Zörb
187ecf6f06 Ignore noscript-wrapped link tags 2015-06-09 17:19:31 +02:00
Ben Zörb
e9616df148 Added ignore option 2015-06-09 07:12:09 +02:00
Ben Zörb
91f0c24d17 Don't encode entities 2015-04-30 16:56:36 +02:00
Ben Zörb
be7a25e391 Removed failing quickfix related to #8 2015-04-29 06:23:39 +02:00
Ben Zörb
a9d96bdac3 Added fix for #8 2015-04-28 06:37:48 +02:00
Ben Zörb
90bfbd2dc2 fix #6 2015-02-23 17:04:34 +01:00
Ben Zörb
af188afe50 fixes 7 2015-02-17 00:59:53 +01:00
Ben Zörb
be3889c1cf some cleanup 2014-12-08 23:15:13 +01:00
Ben Zörb
95606c5cda Use original loadCSS 2014-12-08 23:02:01 +01:00
Ben Zörb
7e23be10fe moved loadcss in the head 2014-12-08 21:33:40 +01:00
Ben Zörb
4f8fea67ff normalize newlines 2014-11-25 23:15:48 +01:00
Ben Zörb
71f73d7433 Really fixed #4 2014-11-25 17:28:56 +01:00
Ben Zörb
f8eed5b561 Fixed #4 2014-11-25 17:21:43 +01:00
Nicolas Bevacqua
28f78aae21 revving 2014-10-20 11:44:53 -03:00
Nicolas Bevacqua
7484531212 implement extract options and test it out 2014-10-18 22:12:33 -03:00
Ben Zörb
320f20bd7f fixed implementation 2014-09-02 08:26:10 +02:00