fix: monaco build problems

This commit is contained in:
Arpad Gabor
2021-10-23 19:06:02 +03:00
parent 62f0899e10
commit f811992527
2 changed files with 7 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ module.exports = {
disableHostCheck: true,
},
plugins: [
new MonacoWebpackPlugin(),
new MonacoWebpackPlugin({ languages: ['javascript', 'html', 'typescript'] }),
],
},
css: {
@@ -28,5 +28,5 @@ module.exports = {
},
},
},
publicPath: process.env.VUE_APP_PUBLIC_PATH ? process.env.VUE_APP_PUBLIC_PATH : '/',
publicPath: process.env.VUE_APP_PUBLIC_PATH && process.env.VUE_APP_PUBLIC_PATH !== '/%BASE_PATH%/' ? process.env.VUE_APP_PUBLIC_PATH : '/',
};