Commit 6070f749 by Dominik Prokop Committed by GitHub

Webpack: Fix webpack for enterprise (#22863)

parent 0a2dda35
......@@ -30,7 +30,12 @@ module.exports = {
// this alias maps that dependency to core-js@t3
'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: {
children: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment