systemjs-plugin-css
Advanced tools
Comparing version
@@ -141,2 +141,3 @@ var fs = require('@node/fs'); | ||
postCssPlugins.push(cssnano({ | ||
safe: true, | ||
normalizeUrl: false | ||
@@ -143,0 +144,0 @@ })); |
@@ -61,4 +61,4 @@ /* | ||
CSSPluginBase.prototype.instantiate = function(load) { | ||
if (this.builder) | ||
return; | ||
if (this.builder || typeof document === 'undefined') | ||
return; | ||
@@ -65,0 +65,0 @@ var style = document.createElement('style'); |
{ | ||
"name": "systemjs-plugin-css", | ||
"version": "0.1.31", | ||
"version": "0.1.32", | ||
"main": "css", | ||
@@ -5,0 +5,0 @@ "registry": "jspm", |
@@ -7,4 +7,2 @@ System.registerDynamic("test/data/test.css!css.js", [], false, function ($__require, $__exports, $__module) { | ||
return _retrieveGlobal(); | ||
}); | ||
(function(c){if (typeof document == 'undefined') return; var d=document,a='appendChild',i='styleSheet',s=d.createElement('style');s.type='text/css';d.getElementsByTagName('head')[0][a](s);s[a](d.createTextNode(c));}) | ||
("@import \"./dep.css\";body{background-color:red;background-image:url(test/data/x.png)}\n/*# sourceMappingURL=__.css.map */"); | ||
}); |
24
4.35%4323960
0