This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Build): Fix build issues due to circular dependencies
- Loading branch information
1 parent
3a04a53
commit 4d7c13e
Showing
9 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export const examples: {[key: string]: Promise<any>} = { | ||
// @ts-ignore | ||
'simple': import('./simple.html'), | ||
// @ts-ignore | ||
'article-antibodies': import('./article-antibodies.html'), | ||
// @ts-ignore | ||
'article-drosophila': import('./article-drosophila.html'), | ||
// @ts-ignore | ||
'article-rmarkdown': import('./article-rmarkdown.html') | ||
export const examples: { [key: string]: string } = { | ||
simple: '/examples/simple.html', | ||
'article-antibodies': '/examples/article-antibodies.html', | ||
'article-drosophila': '/examples/article-drosophila.html', | ||
'article-rmarkdown': '/examples/article-rmarkdown.html' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export { load } from '../../common/js/index' | ||
import { load } from '../../common/js' | ||
export { load } from '../../common/js' | ||
|
||
load() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { Themes } from '..' | ||
|
||
export const modules: {[key in keyof Themes]: Promise<any>} = { | ||
export const modules: { [key in keyof Themes]: Promise<any> } = { | ||
elife: import('./eLife'), | ||
nature: import('./nature') , | ||
nature: import('./nature'), | ||
plos: import('./plos'), | ||
stencila: import('./stencila') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export { load } from '../../common/js/index' | ||
import { load } from '../../common/js' | ||
export { load } from '../../common/js' | ||
|
||
load() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { load } from '../../common/js/index' | ||
import { load } from '../../common/js' | ||
|
||
load() |