2019-06-23 03:35:23 -07:00
|
|
|
const GoogleFontsPlugin = require('@beyonk/google-fonts-webpack-plugin');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
chainWebpack: config => config.resolve.symlinks(false),
|
|
|
|
// transpileDependencies: [
|
|
|
|
// // 'node_modules/quill'
|
|
|
|
// /\/node_modules\/quill\//
|
|
|
|
// ]
|
|
|
|
pluginOptions: {
|
|
|
|
webpackBundleAnalyzer: {
|
|
|
|
openAnalyzer: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
configureWebpack: {
|
|
|
|
plugins: [
|
|
|
|
new GoogleFontsPlugin({
|
|
|
|
fonts: [
|
|
|
|
{ family: 'Open Sans', variants: ['300', '400', '600', '700'] },
|
|
|
|
],
|
|
|
|
}),
|
|
|
|
],
|
2020-10-28 15:14:09 -07:00
|
|
|
devServer: {
|
|
|
|
disableHostCheck: true,
|
|
|
|
},
|
2019-06-23 03:35:23 -07:00
|
|
|
},
|
|
|
|
css: {
|
|
|
|
loaderOptions: {
|
|
|
|
sass: {
|
2019-12-29 13:02:21 -08:00
|
|
|
prependData: `
|
2019-06-23 03:35:23 -07:00
|
|
|
@import "@/n8n-theme-variables.scss";
|
|
|
|
`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-07-14 14:36:05 -07:00
|
|
|
publicPath: process.env.VUE_APP_PUBLIC_PATH ? process.env.VUE_APP_PUBLIC_PATH : '/',
|
2019-06-23 03:35:23 -07:00
|
|
|
};
|