mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Simplify samples
This commit is contained in:
parent
779a88524d
commit
9669392026
6 changed files with 1751 additions and 9732 deletions
4746
browser-esm-webpack-small/package-lock.json
generated
4746
browser-esm-webpack-small/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2,11 +2,11 @@
|
||||||
"name": "helloworld",
|
"name": "helloworld",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"css-loader": "^0.28.11",
|
"css-loader": "^1.0.0",
|
||||||
"monaco-editor": "^0.12.0",
|
"monaco-editor": "^0.14.2",
|
||||||
"style-loader": "^0.21.0",
|
"style-loader": "^0.22.1",
|
||||||
"uglifyjs-webpack-plugin": "^1.2.5",
|
"uglifyjs-webpack-plugin": "^1.2.7",
|
||||||
"webpack": "^4.6.0",
|
"webpack": "^4.16.5",
|
||||||
"webpack-cli": "^2.0.14"
|
"webpack-cli": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const webpack = require('webpack');
|
|
||||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
@ -24,7 +23,6 @@ module.exports = {
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.IgnorePlugin(/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/, /vs(\/|\\)language(\/|\\)typescript(\/|\\)lib/),
|
|
||||||
new UglifyJSPlugin()
|
new UglifyJSPlugin()
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
6745
browser-esm-webpack/package-lock.json
generated
6745
browser-esm-webpack/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2,10 +2,10 @@
|
||||||
"name": "helloworld",
|
"name": "helloworld",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"css-loader": "^0.28.11",
|
"css-loader": "^1.0.0",
|
||||||
"monaco-editor": "^0.12.0",
|
"monaco-editor": "^0.14.2",
|
||||||
"style-loader": "^0.21.0",
|
"style-loader": "^0.22.1",
|
||||||
"webpack": "^4.6.0",
|
"webpack": "^4.16.5",
|
||||||
"webpack-cli": "^2.0.14"
|
"webpack-cli": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const webpack = require('webpack');
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
|
|
@ -22,7 +21,4 @@ module.exports = {
|
||||||
use: [ 'style-loader', 'css-loader' ]
|
use: [ 'style-loader', 'css-loader' ]
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
plugins: [
|
|
||||||
new webpack.IgnorePlugin(/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/, /vs(\/|\\)language(\/|\\)typescript(\/|\\)lib/)
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue