Fix path lookup

pull/2748/head
Alex Dima 7 years ago
parent 118c0d5783
commit 2639244ae8

@ -32,7 +32,7 @@ const LANGUAGES = require('./languages');
const FEATURES = require('./features'); const FEATURES = require('./features');
function resolveMonacoPath(filePath) { function resolveMonacoPath(filePath) {
return require.resolve(path.join('../esm', filePath)); return require.resolve(path.join('monaco-editor/esm', filePath));
} }
const languagesById = fromPairs( const languagesById = fromPairs(

3219
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
{ {
"name": "monaco-editor-webpack-plugin", "name": "monaco-editor-webpack-plugin",
"version": "1.0.0", "version": "0.0.1",
"description": "A webpack plugin for the Monaco Editor", "description": "A webpack plugin for the Monaco Editor",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -22,7 +22,8 @@
"url": "https://github.com/Microsoft/monaco-editor-webpack-plugin/issues" "url": "https://github.com/Microsoft/monaco-editor-webpack-plugin/issues"
}, },
"homepage": "https://github.com/Microsoft/monaco-editor-webpack-plugin#readme", "homepage": "https://github.com/Microsoft/monaco-editor-webpack-plugin#readme",
"dependencies": { "peerDependencies": {
"webpack": "^4.5.0" "webpack": "^4.5.0",
"monaco-editor": "^0.11.1"
} }
} }

Loading…
Cancel
Save