mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-25 07:51:12 +02:00
fix monaco paths
This commit is contained in:
@@ -237,7 +237,7 @@ export default class CodeEditor extends Component {
|
|||||||
monacoDepsDeferred = deferred();
|
monacoDepsDeferred = deferred();
|
||||||
loadCss({ url: 'lib/monaco/monaco.css', id: 'monaco-css' });
|
loadCss({ url: 'lib/monaco/monaco.css', id: 'monaco-css' });
|
||||||
import(
|
import(
|
||||||
/* webpackChunkName: "monaco" */ 'lib/monaco/monaco.bundle.js'
|
/* webpackChunkName: "monaco" */ '/lib/monaco/monaco.bundle.js'
|
||||||
).then(() => {
|
).then(() => {
|
||||||
monacoDepsDeferred.resolve();
|
monacoDepsDeferred.resolve();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user