1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-20 17:37:25 +03:00
n8n/packages/editor-ui/vue.config.js
2019-06-23 12:35:23 +02:00

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