Skip to content

Commit 2763af8

Browse files
committed
Add few comments to CSS props in webpack config
1 parent e0ffa41 commit 2763af8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/webpack.client.base.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,13 @@ module.exports = {
7676
],
7777
},
7878

79+
// Place here all postCSS plugins here, so postcss-loader will apply them
7980
postcss: [autoprefixer],
81+
82+
// Place here all SASS files with variables, mixins etc.
83+
// And sass-resources-loader will load them in every CSS Module (SASS file) for you
84+
// (so don't need to @import them explicitly)
85+
// https://github.com/shakacode/sass-resources-loader
8086
sassResources: ['./app/assets/styles/app-variables.scss'],
8187

8288
};

0 commit comments

Comments
 (0)