Chore: Fix broken enterprise builds (#41025)

This commit is contained in:
kay delaney 2021-10-28 10:51:12 +01:00 committed by GitHub
parent 3b91ce1b07
commit 209122347c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,14 +41,7 @@ module.exports = {
// we want to have same Prism object in core and in grafana/ui
prismjs: require.resolve('prismjs'),
},
modules: [
'node_modules',
// we need full path to root node_modules for grafana-enterprise symlink to work
path.resolve('node_modules'),
'.yarn',
path.resolve('.yarn'),
path.resolve('public'),
],
modules: ['node_modules', path.resolve('public')],
fallback: {
buffer: false,
fs: false,
@ -57,6 +50,7 @@ module.exports = {
https: false,
string_decoder: false,
},
symlinks: false,
},
ignoreWarnings: [/export .* was not found in/],
stats: {