1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-21 09:59:34 +03:00
n8n/packages/editor-ui/vue.config.js
Iván Ovejero 1de9ecf4ec Set up i18n
2021-11-09 09:59:48 +01:00

37 lines
736 B
JavaScript

module.exports = {
chainWebpack: config => {
config.resolve.symlinks(false);
// config.plugins.delete("prefetch"); // enable when language package grows
},
// transpileDependencies: [
// // 'node_modules/quill'
// /\/node_modules\/quill\//
// ]
pluginOptions: {
webpackBundleAnalyzer: {
openAnalyzer: false,
},
i18n: {
locale: "en",
fallbackLocale: "en",
localeDir: "./src/i18n/locales",
enableInSFC: false,
},
},
configureWebpack: {
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 : '/',
};