Webpack: Fix webpack for enterprise (#22863)

pull/22864/head
Dominik Prokop 6 years ago committed by GitHub
parent 0a2dda35fc
commit 6070f749c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      scripts/webpack/webpack.common.js

@ -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,

Loading…
Cancel
Save