2020-02-18 08:57:00 +01:00
|
|
|
const path = require("path");
|
|
|
|
|
2018-05-18 11:28:29 +02:00
|
|
|
module.exports = {
|
2018-07-04 14:29:17 +02:00
|
|
|
runtimeCompiler: true,
|
2020-02-18 08:57:00 +01:00
|
|
|
lintOnSave: true,
|
|
|
|
outputDir: path.resolve(__dirname, "../priv/static"),
|
|
|
|
chainWebpack: (config) => {
|
|
|
|
const svgRule = config.module.rule("svg");
|
2019-04-24 20:50:05 +02:00
|
|
|
|
2020-02-18 08:57:00 +01:00
|
|
|
svgRule.uses.clear();
|
|
|
|
|
|
|
|
svgRule.use("vue-svg-loader").loader("vue-svg-loader");
|
|
|
|
},
|
2018-05-18 11:28:29 +02:00
|
|
|
};
|