mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 13:52:12 +08:00
Webpack: Fix webpack for enterprise (#22863)
This commit is contained in:
@ -30,7 +30,12 @@ module.exports = {
|
|||||||
// this alias maps that dependency to core-js@t3
|
// this alias maps that dependency to core-js@t3
|
||||||
'core-js/library/fn': 'core-js/stable',
|
'core-js/library/fn': 'core-js/stable',
|
||||||
},
|
},
|
||||||
modules: [path.resolve('public'), 'node_modules'],
|
modules: [
|
||||||
|
'node_modules',
|
||||||
|
path.resolve('public'),
|
||||||
|
// we need full path to root node_modules for grafana-enterprise symlink to work
|
||||||
|
path.resolve('node_modules'),
|
||||||
|
],
|
||||||
},
|
},
|
||||||
stats: {
|
stats: {
|
||||||
children: false,
|
children: false,
|
||||||
|
Reference in New Issue
Block a user