Skip to content

Commit 93706ae

Browse files
committed
fix postcss.config.js
1 parent 0203199 commit 93706ae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"build": "npm-run-all --parallel build:*",
88
"build:jade": "jade -o ./ ./src/index.jade",
99
"build:webpack": "webpack",
10-
"build:postcss": "postcss -c postcss.config.js -o ./style.css ./src/style.pcss",
10+
"build:postcss": "postcss -c postcss.config.js",
1111
"watch": "npm-run-all --parallel watch:*",
1212
"watch:jade": "jade -o ./ -w ./src/index.jade",
1313
"watch:webpack": "webpack -w",
14-
"watch:postcss": "postcss -w -c postcss.config.js -o ./style.css ./src/style.pcss",
14+
"watch:postcss": "postcss -w -c postcss.config.js",
1515
"test": "echo \"Error: no test specified\" && exit 1"
1616
},
1717
"author": "NCC",

postcss.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
module.exports = {
2+
input: './src/style.pcss',
3+
output: './style.css',
24
use: [
35
'postcss-import',
46
'postcss-nesting',

0 commit comments

Comments
 (0)