We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666e386 commit 5ced9c0Copy full SHA for 5ced9c0
lib/compilers/postcss-compiler.js
@@ -1,18 +1,15 @@
1
const postcss = require('postcss');
2
const postcssrc = require('postcss-load-config')
3
-const throwError = require('../throw-error')
4
-
5
const ctx = { parser: true, map: 'inline' }
+const { plugins } = postcssrc.sync(ctx)
6
7
-const { plugins, options } = postcssrc.sync(ctx)
8
9
-console.log(options, 7777);
+const throwError = require('../throw-error')
10
11
module.exports = (content) => {
12
let css = null
13
14
postcss(plugins)
15
- .process(content, options || {})
+ .process(content)
16
.then(result => {
17
css = result.css || ''
18
})
0 commit comments