mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 03:01:21 -04:00
[storybook] Add static path to @kbn/monaco web workers
This commit is contained in:
parent
ea18158480
commit
35d0fce04a
1 changed files with 5 additions and 1 deletions
|
@ -217,7 +217,7 @@ export const defaultConfig: StorybookConfig = {
|
|||
<meta name="eui-global" />
|
||||
<meta name="emotion" />
|
||||
<script>
|
||||
window.__kbnPublicPath__ = { 'kbn-ui-shared-deps-npm': '', 'kbn-ui-shared-deps-src': '' };
|
||||
window.__kbnPublicPath__ = { 'kbn-ui-shared-deps-npm': '', 'kbn-ui-shared-deps-src': '', 'kbn-monaco': 'kbn-monaco/' };
|
||||
window.__kbnHardenPrototypes__ = false;
|
||||
</script>
|
||||
<script src="kbn-ui-shared-deps-npm.dll.js"></script>
|
||||
|
@ -239,5 +239,9 @@ export const defaultConfig: StorybookConfig = {
|
|||
from: `${REPO_ROOT}/src/platform/plugins/shared/kibana_react/public/assets`,
|
||||
to: 'plugins/kibanaReact/assets',
|
||||
},
|
||||
{
|
||||
from: `${REPO_ROOT}/bazel-bin/src/platform/packages/shared/kbn-monaco/target_workers`,
|
||||
to: 'kbn-monaco',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue