@webpack-blocks/postcss
Advanced tools
Comparing version 0.4.0-rc to 0.4.0-rc.1
# @webpack-blocks/postcss - Changelog | ||
## 0.4.0 | ||
- Breaking change: Dropped the default `node_modules/` exclusion | ||
## 0.3.2 | ||
@@ -4,0 +8,0 @@ |
@@ -20,3 +20,2 @@ /** | ||
options = options || {} | ||
const exclude = options.exclude || /\/node_modules\// | ||
@@ -35,7 +34,8 @@ // https://github.com/postcss/postcss-loader#options | ||
loaders: [ | ||
{ | ||
Object.assign({ | ||
test: context.fileType('text/css'), | ||
exclude: Array.isArray(exclude) ? exclude : [ exclude ], | ||
loaders: [ 'style-loader', 'css-loader', 'postcss-loader?' + JSON.stringify(postcssOptions) ] | ||
} | ||
}, options.exclude ? { | ||
exclude: Array.isArray(options.exclude) ? options.exclude : [ options.exclude ] | ||
} : {}) | ||
] | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "@webpack-blocks/postcss", | ||
"version": "0.4.0-rc", | ||
"version": "0.4.0-rc.1", | ||
"description": "Webpack block for PostCSS.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4534