Last active
July 31, 2018 14:26
-
-
Save ollelauribostrom/f97fe85d5f93f8f90bd3a447bc239dce to your computer and use it in GitHub Desktop.
This file contains hidden or 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
async function init() { | |
await import(/* webpackChunkName: "monaco-editor" */ "monaco-editor"); | |
ReactDOM.render(<App />, document.getElementById("app")); | |
await import(/* webpackChunkName: "monaco-languages" */ "monaco-editor"); | |
await registerLanguages(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment