monaco-editor-esm-webpack-plugin
Advanced tools
Comparing version 1.0.6 to 2.0.0
# Change Log | ||
## 2.0.0 | ||
> 2020-01-04 | ||
### Feature | ||
- Remove all dependencies to peerDependencies or devDependencies. And now, you should add dependencies in your project and you can match the version of `monaco-editor` with `monaco-editor-webpack-plugin` (such as, `monaco-editor#0.21.*` with `monaco-editor-webpack-plugin#2.*.*`) | ||
## 1.1.0 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "monaco-editor-esm-webpack-plugin", | ||
"version": "1.0.6", | ||
"version": "2.0.0", | ||
"description": "The webpack's plugin for monaco editor to compile the worker and handle with localization", | ||
@@ -19,12 +19,12 @@ "keywords": [ | ||
"peerDependencies": { | ||
"monaco-editor": "<=0.18.1", | ||
"monaco-editor-nls": "*" | ||
"monaco-editor": "*", | ||
"monaco-editor-nls": "*", | ||
"monaco-editor-webpack-plugin": "*", | ||
"webpack": "4.x" | ||
}, | ||
"dependencies": { | ||
"monaco-editor-webpack-plugin": "~1.7.0", | ||
"webpack": "^4.41.0" | ||
}, | ||
"devDependencies": { | ||
"monaco-editor-nls": "~1.0.2" | ||
"monaco-editor-webpack-plugin": "*", | ||
"monaco-editor-nls": "*", | ||
"webpack": "4.x" | ||
} | ||
} |
@@ -16,2 +16,4 @@ # monaco-editor-esm-webpack-plugin | ||
`npm install monaco-editor monaco-editor-webpack-plugin monaco-editor-nls` | ||
## Using | ||
@@ -52,6 +54,2 @@ | ||
- Install [monaco-editor-nls](https://github.com/wang12124468/monaco-editor-nls) | ||
`npm install monaco-editor-nls` | ||
- Set the locale data in your code | ||
@@ -83,4 +81,4 @@ | ||
- Localization is not active ? | ||
- Why the project can't start after add the plugin with `monaco-editor` and `monaco-editor-webpack-plugin` ? | ||
There are may two `monaco-editor-nls`. One is may in `monaco-editor-esm-webpack-plugin/node_modules`, another is may in `node_modules`. You should delete the one in `monaco-editor-esm-webpack-plugin/node_modules` and restart. | ||
The version of `monaco-editor` should match with `monaco-editor-webpack-plugin`, you can see: https://github.com/microsoft/monaco-editor-webpack-plugin/#version-matrix |
144697
3
82
+ Addedjson5@2.2.3(transitive)
+ Addedloader-utils@2.0.4(transitive)
+ Addedmonaco-editor@0.52.2(transitive)
+ Addedmonaco-editor-webpack-plugin@7.1.0(transitive)
- Removedmonaco-editor-webpack-plugin@~1.7.0
- Removedwebpack@^4.41.0
- Removed@types/node@22.13.1(transitive)
- Removed@types/source-list-map@0.1.6(transitive)
- Removed@types/tapable@1.0.12(transitive)
- Removed@types/uglify-js@3.17.5(transitive)
- Removed@types/webpack@4.41.40(transitive)
- Removed@types/webpack-sources@3.2.3(transitive)
- Removedmonaco-editor@0.15.60.18.1(transitive)
- Removedmonaco-editor-webpack-plugin@1.7.0(transitive)
- Removedsource-map@0.7.4(transitive)
- Removedundici-types@6.20.0(transitive)