mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Update package.json
The previous version was not working. With this change to the package.json, it is now working.
This commit is contained in:
parent
5e5af013f8
commit
a6ce64ef99
1 changed files with 13 additions and 4 deletions
|
|
@ -1,10 +1,9 @@
|
|||
{
|
||||
"name": "monaco-esm-webpack-typescript",
|
||||
"scripts": {
|
||||
"start": "node ../node_modules/webpack-dev-server/bin/webpack-dev-server.js",
|
||||
"build": "NODE_ENV='production' node ../node_modules/webpack/bin/webpack.js --progress"
|
||||
"start": "webpack serve",
|
||||
"build": "NODE_ENV='production' webpack --progress"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
|
|
@ -14,8 +13,18 @@
|
|||
"@types/react": "^17.0.39",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"babel-loader": "^8.2.3",
|
||||
"css-loader": "^6.8.1",
|
||||
"file-loader": "^6.2.0",
|
||||
"html-webpack-plugin": "^5.5.4",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-refresh": "^0.11.0"
|
||||
"react-refresh": "^0.11.0",
|
||||
"style-loader": "^3.3.3",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^4.15.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"monaco-editor": "^0.45.0",
|
||||
"webpack": "^5.89.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue