n8n/packages/editor-ui/vue.config.js

33 lines
611 B
JavaScript
Raw Normal View History

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'] },
],
}),
],
},
css: {
loaderOptions: {
sass: {
data: `
@import "@/n8n-theme-variables.scss";
`,
},
},
},
};