Skip to content

Commit 55841be

Browse files
committed
Fix exports
1 parent 14ec4b6 commit 55841be

File tree

6 files changed

+96
-96
lines changed

6 files changed

+96
-96
lines changed

dist/engine/core/monogatari.js

Lines changed: 47 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/engine/core/monogatari.js.map

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/monogatari.module.js

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/monogatari.module.js.map

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ Monogatari._actions = [
316316
/**
317317
* Export Monogatari Core
318318
*/
319-
export * from './lib/Action';
320-
export * from './lib/Component';
321-
export * from './lib/ShadowComponent';
319+
export { default as Action } from './lib/Action';
320+
export { default as Component } from './lib/Component';
321+
export { default as ShadowComponent } from './lib/ShadowComponent';
322322
export * from './lib/ScreenComponent';
323323
export * from './lib/MenuComponent';
324324
export * from './lib/FancyError';

src/lib/ShadowComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,4 +376,4 @@ class ShadowComponent<P extends Properties = Properties, S extends Properties =
376376
}
377377
}
378378

379-
export { ShadowComponent };
379+
export default ShadowComponent;

0 commit comments

Comments
 (0)