Commit Graph

63 Commits

Author SHA1 Message Date
Ben Zörb
17a6426186 Bump dependencies 2019-06-13 23:31:53 +02:00
bezoerb
8c8cf700e5 Allow to configure noscript position 2019-03-26 17:31:54 +01:00
bezoerb
c1aabd75aa fix: remove stylesheets on empty replace array 2019-01-08 05:33:19 +01:00
bezoerb
cea065d366 feature: move noscript links to end of document #139 2019-01-02 07:14:03 +01:00
Ben Zörb
e37904080a
Switched to jsdom (#240) 2018-12-30 23:41:29 +01:00
bezoerb
da6b0fc1b8 Bump dependencies 2018-12-20 08:05:21 +01:00
bezoerb
226bf160ea fix: prevent multiple loadcss includes 2018-12-20 07:18:51 +01:00
bezoerb
44c0cd38dd feature: compare/check already inlined styles 2018-12-19 22:32:55 +01:00
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
a40003d30d add another svg test 2018-11-28 16:52:48 +01:00
bezoerb
c10a6a2bfd Add another SVG Test 2018-11-18 23:16:00 +01:00
bezoerb
184b7b0c70 fix: consider ignore passed as string 2018-09-15 23:06:59 +02:00
Ben Zörb
dae89bd655 Bump dependencies 2018-06-13 05:44:18 +02:00
Ben Zörb
a3e33fcd2b Test existance of extracted stylesheets 2018-04-18 05:57:25 +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
8f47db213a Update lock files 2018-03-18 00:14:57 +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
1975ebd7ce Bump deps 2018-03-05 20:56:57 +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
0225bf9e04 Upgrade load css (#230) 2017-12-01 07:11:29 +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
84ed9821bc bump deps 2017-03-03 17:19:12 +01:00
Ben Zörb
cccfd249f7 Bump dependencies 2017-02-26 23:07:15 +01:00
Ben Zörb
d3db78eb4d bump deps & adjusted tests to new clean-css 2017-02-10 16:57:09 +01:00
Ben Zörb
43018d19d9 bump deps & adjusted tests to new loadcss 2017-02-10 16:45:01 +01:00
Ben Zörb
92fff6f493 Fixed tests after bump 2016-09-02 23:52:54 +02:00
Ben Zörb
74a4044698 correct process.exit on cli 2016-04-18 06:35:26 +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
9eb3dd54cb test for #8 2015-09-29 07:03:38 +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
c4e43274a8 Fix #9 2015-06-10 18:07:48 +02:00
Ben Zörb
ed7923c98a fixed tests 2015-06-09 22:21:18 +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
77bdac4d98 Added test for #8 (skipped) 2015-04-30 17:10:05 +02:00
Ben Zörb
91f0c24d17 Don't encode entities 2015-04-30 16:56:36 +02:00
Ben Zörb
ec604aa377 Better testcase for #8 2015-04-29 06:23:01 +02:00
Ben Zörb
a9d96bdac3 Added fix for #8 2015-04-28 06:37:48 +02:00
Ben Zörb
8bc8114f88 fixed test with new clean-css output 2015-03-30 16:54:36 +02:00