We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
postcss.confi.js
1 parent 2ef4449 commit d421a41Copy full SHA for d421a41
lib/index.js
@@ -92,6 +92,11 @@ module.exports = function loader (css, map) {
92
93
if (config.file) this.addDependency(config.file)
94
95
+ // Disable override `to` option from `postcss.config.js`
96
+ if (config.options.to) delete config.options.to
97
+ // Disable override `from` option from `postcss.config.js`
98
+ if (config.options.from) delete config.options.from
99
+
100
let plugins = config.plugins || []
101
let options = Object.assign({
102
to: file,
0 commit comments