[packages] fix paths.
This commit is contained in:
parent
e56759c4de
commit
b43f4d2b3d
|
@ -27,7 +27,7 @@ exports.getPlugins = function(config, kibanaPath, projectRoot) {
|
|||
const pluginDirs = [
|
||||
...(config.pluginDirs || []).map(resolveToRoot),
|
||||
resolve(kibanaPath, 'plugins'),
|
||||
resolve(kibanaPath, 'src/core_plugins'),
|
||||
resolve(kibanaPath, 'src/legacy/core_plugins'),
|
||||
];
|
||||
|
||||
const pluginPaths = [
|
||||
|
|
|
@ -35,7 +35,9 @@ exports.getWebpackConfig = function(kibanaPath, projectRoot, config) {
|
|||
|
||||
// Dev defaults for test bundle https://github.com/elastic/kibana/blob/6998f074542e8c7b32955db159d15661aca253d7/src/core_plugins/tests_bundle/index.js#L73-L78
|
||||
ng_mock$: fromKibana('src/test_utils/public/ng_mock'),
|
||||
'angular-mocks$': fromKibana('src/core_plugins/tests_bundle/webpackShims/angular-mocks.js'),
|
||||
'angular-mocks$': fromKibana(
|
||||
'src/legacy/core_plugins/tests_bundle/webpackShims/angular-mocks.js'
|
||||
),
|
||||
fixtures: fromKibana('src/fixtures'),
|
||||
test_utils: fromKibana('src/test_utils/public'),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue