972f0d2ace
Try fixing query string stylesheets
2020-08-22 22:09:30 +02:00
Ben Zörb
7e59c3809d
Bump dependencies
2020-05-23 00:36:56 +02:00
Ben Zörb
f586a79eac
Bump uglifyjs
2020-05-22 23:57:07 +02:00
Ben Zörb
480549442f
fix linter warnings
2020-05-20 00:32:21 +02:00
Ben Zörb
e1408b4070
Adds preload & polyfill option
2020-05-20 00:31:59 +02:00
Ben Zörb
5306dcecd4
Adds test for media=print strategy
2020-05-20 00:24:00 +02:00
XhmikosR
3eb390a933
Update dependencies and remove the unused dom-serializer dep.
...
* chalk 3.0.0
* jsdom 15.2.1
* postcss 7.0.21
* postcss-discard 0.3.3
* prettier 1.19.1
* uglify-js 3.6.8
2019-11-09 14:54:25 +02:00
XhmikosR
70f95d5cb3
Update dependencies.
2019-10-24 14:36:10 +03:00
Ben Zörb
79c1191a67
Adds eslint-ignore
2019-10-21 21:36:44 +02:00
XhmikosR
16edeba928
Update dependencies.
...
* postcss to v7.0.18
* postcss-discard to v0.3.2
* read-pkg-up to v7.0.0
* xo to v0.25.3
Remove the unneeded eslint-plugin-prettier dep. xo includes this.
2019-10-07 17:15:21 +03:00
Ben Zörb
a3df90d8fd
Merge pull request #245 from XhmikosR/master-xmr-var
...
Update dependencies.
2019-08-09 23:44:17 +02:00
XhmikosR
2d529d3779
Minor tweaks.
...
* add `'use strict'` statements
* use template literals
2019-08-09 16:45:00 +03:00
XhmikosR
3cd4c7ac2c
Update dependencies.
...
Also move `fs-extra` to devDependencies and remove snyk and yarn.lock.
2019-08-08 15:06:42 +03:00
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