Created
July 25, 2019 09:23
-
-
Save lysenko-sergey-developer/c6c96e3587a72684e493aa72b823323f to your computer and use it in GitHub Desktop.
webpack with postcss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
module.exports = async ({ config, modpose }) => { | |
config.module.rules.push({ | |
test: /\.scss$/, | |
use: ['style-loader', 'css-loader', 'postcss-loader'], | |
include: path.resolve(__dirname, '../'), | |
}); | |
return config; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment