1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-10 12:35:46 +03:00
n8n/packages/editor-ui/vue.config.js
Jan Oberhauser 889267ebb6 👕 Fix lint issue
2020-10-28 23:14:09 +01:00

37 lines
751 B
JavaScript

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'] },
],
}),
],
devServer: {
disableHostCheck: true,
},
},
css: {
loaderOptions: {
sass: {
prependData: `
@import "@/n8n-theme-variables.scss";
`,
},
},
},
publicPath: process.env.VUE_APP_PUBLIC_PATH ? process.env.VUE_APP_PUBLIC_PATH : '/',
};