mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 12:35:46 +03:00
34 lines
643 B
JavaScript
34 lines
643 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: {
|
|
devtool: 'source-map',
|
|
plugins: [
|
|
new GoogleFontsPlugin({
|
|
fonts: [
|
|
{ family: 'Open Sans', variants: ['300', '400', '600', '700'] },
|
|
],
|
|
}),
|
|
],
|
|
},
|
|
css: {
|
|
loaderOptions: {
|
|
sass: {
|
|
prependData: `
|
|
@import "@/n8n-theme-variables.scss";
|
|
`,
|
|
},
|
|
},
|
|
},
|
|
};
|