Skip to content

Commit a350075

Browse files
committed
fix: Turn on missing PostCSS plugins
1 parent 1ecbfb3 commit a350075

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"open-browser-webpack-plugin": "0.0.2",
8181
"postcss-calc": "^5.3.1",
8282
"postcss-cssnext": "^2.8.0",
83-
"postcss-import": "^8.1.2",
8483
"postcss-loader": "^1.0.0",
8584
"postcss-nested": "^1.0.0",
8685
"rimraf": "^2.5.4",

src/css/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
body {color: calc(1 * 1px ) }
3+
14
@import '~bootstrap/dist/css/bootstrap.css';
25
@import '~codemirror/lib/codemirror.css';
36

webpack/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ module.exports = {
44
plugins: require('./plugins'),
55
output: require('./output'),
66
module: require('./module'),
7+
postcss: require('./postcss')
78
};

webpack/postcss.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
const postcssImport = require('postcss-import');
2-
//const postcssUrl = require('postcss-url');
31
const postcssNested = require('postcss-nested');
42
const postcssCssnext = require('postcss-cssnext');
53
const postcssCalc = require('postcss-calc');
64

75
module.exports = webpack => [
8-
postcssImport({ addDependencyTo: webpack }),
9-
/*postcssUrl({
10-
url: 'inline',
11-
from: 'frontend/pcss/style.pcss'
12-
}),*/
136
postcssNested(),
147
postcssCssnext(),
158
postcssCalc()

0 commit comments

Comments
 (0)