Comments (2)
Import.meta.url is necessary to load the service workers relative to the WC source.
Unfortunately, this is a Webpack issue with no fix. Here's a link to the relevant issue.
from wc-monaco-editor.
Update: The import.meta
TC39 proposal has reached Stage 4 so it will officially land in ES2020. Hopefully, that means we'll see a fix in Webpack soon.
from wc-monaco-editor.
Related Issues (17)
- Unexpected token in Safari HOT 2
- Monaco editor version HOT 13
- Add Inline Source Support HOT 3
- Add Theming Support
- Unexpected usage at z.loadForeignModule HOT 5
- Instructions for demo HOT 1
- "Unexpected usage"-error when importing from CDN HOT 1
- Bump monaco-editor-es HOT 1
- Update to version 0.29 HOT 1
- `editor` is `undefined` HOT 2
- Does not work in Shadow Dom HOT 1
- Make the Editor Resizable HOT 1
- Better Monaco Bundling Strategy HOT 1
- Error: Unexpected usage at e.loadForeignModule HOT 2
- how to pass configuration options? HOT 16
- Uncaught TypeError: Object prototype may only be an Object or null: undefined HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wc-monaco-editor.