[packages] fix paths.
This commit is contained in:
parent
db3d727fdb
commit
5d2601d602
|
@ -27,7 +27,7 @@ exports.getPlugins = function(config, kibanaPath, projectRoot) {
|
||||||
const pluginDirs = [
|
const pluginDirs = [
|
||||||
...(config.pluginDirs || []).map(resolveToRoot),
|
...(config.pluginDirs || []).map(resolveToRoot),
|
||||||
resolve(kibanaPath, 'plugins'),
|
resolve(kibanaPath, 'plugins'),
|
||||||
resolve(kibanaPath, 'src/core_plugins'),
|
resolve(kibanaPath, 'src/legacy/core_plugins'),
|
||||||
];
|
];
|
||||||
|
|
||||||
const pluginPaths = [
|
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
|
// 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'),
|
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'),
|
fixtures: fromKibana('src/fixtures'),
|
||||||
test_utils: fromKibana('src/test_utils/public'),
|
test_utils: fromKibana('src/test_utils/public'),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue