Created
March 14, 2022 09:08
-
-
Save cezarpopa/c73379ff6e640094c003a878135fc3cc to your computer and use it in GitHub Desktop.
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
module.exports = { | |
chainWebpack: config => { | |
config.entry('theme') // you can add here as much themes as you want | |
.add('./src/theme.scss') | |
.end(); | |
}, | |
css: { | |
extract: { | |
filename: '[name].css', // to have a name related to a theme | |
chunkFilename: 'css/[name].css' | |
}, | |
modules: false, | |
sourceMap: true | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment