Skip to content

Instantly share code, notes, and snippets.

@SilencerWeb
Created February 18, 2019 13:16
Show Gist options
  • Save SilencerWeb/6a14bd272f5a94e180d6b27a89a3e426 to your computer and use it in GitHub Desktop.
Save SilencerWeb/6a14bd272f5a94e180d6b27a89a3e426 to your computer and use it in GitHub Desktop.
module.exports = {
outputDir: 'wwwroot',
devServer: {
proxy: 'http://localhost:5000',
},
lintOnSave: false,
chainWebpack: (config) => {
const svgRule = config.module.rule('svg');
svgRule.uses.clear();
svgRule
.use('vue-svg-loader')
.loader('vue-svg-loader');
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment