mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Webpack: Allow watching workspaces (#81569)
* build(webpack): remove symlinks:false to enable watching packages with yarn start * build(webpack): add resolve node_modules for enterprise to resolve packages * add comment --------- Co-authored-by: joshhunt <josh@trtr.co>
This commit is contained in:
parent
b84dde7b4a
commit
6d582858f7
@ -33,7 +33,16 @@ module.exports = {
|
||||
'@locker/near-membrane-dom/custom-devtools-formatter.js'
|
||||
),
|
||||
},
|
||||
modules: ['node_modules', path.resolve('public')],
|
||||
modules: [
|
||||
// default value
|
||||
'node_modules',
|
||||
|
||||
// required for grafana enterprise resolution
|
||||
path.resolve('node_modules'),
|
||||
|
||||
// required to for 'bare' imports (like 'app/core/utils' etc)
|
||||
path.resolve('public'),
|
||||
],
|
||||
fallback: {
|
||||
buffer: false,
|
||||
fs: false,
|
||||
@ -42,7 +51,6 @@ module.exports = {
|
||||
https: false,
|
||||
string_decoder: false,
|
||||
},
|
||||
symlinks: false,
|
||||
},
|
||||
ignoreWarnings: [/export .* was not found in/],
|
||||
stats: {
|
||||
|
Loading…
Reference in New Issue
Block a user