css-to-string-loader
Advanced tools
Comparing version 0.1.0 to 0.1.1
10
index.js
@@ -10,3 +10,3 @@ var loaderUtils = require('loader-utils'); | ||
return [ | ||
"// css-to-text-loader: transforms styles from css-loader to a string output", | ||
"// css-to-string-loader: transforms styles from css-loader to a string output", | ||
"", | ||
@@ -17,7 +17,7 @@ "// Get the styles", | ||
"if (typeof styles === 'string') {", | ||
"// Return an existing string", | ||
"module.exports = styles;", | ||
" // Return an existing string", | ||
" module.exports = styles;", | ||
"} else {", | ||
"// Call the custom toString method from css-loader module", | ||
"module.exports = styles.toString();", | ||
" // Call the custom toString method from css-loader module", | ||
" module.exports = styles.toString();", | ||
"}" | ||
@@ -24,0 +24,0 @@ ].join('\n'); |
{ | ||
"name": "css-to-string-loader", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Webpack loader to convert the output of the css-loader back to a string", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4745