We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dece7ea commit faeab3bCopy full SHA for faeab3b
1 file changed
src/worker/App.mjs
@@ -433,15 +433,15 @@ class App extends Base {
433
onRegisterNeoConfig(msg) {
434
super.onRegisterNeoConfig(msg);
435
436
- let config = Neo.config,
437
- {data} = msg,
438
- url = 'resources/theme-map.json';
+ let {config} = Neo,
+ {data} = msg,
+ url = 'resources/theme-map.json';
439
440
Neo.windowConfigs = Neo.windowConfigs || {};
441
442
Neo.windowConfigs[data.windowId] = data;
443
444
- if (config.environment === 'development') {
+ if (config.environment === 'development' || config.environment === 'dist/esm') {
445
url = `../../${url}`
446
}
447
0 commit comments