Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Use globalObject: 'self' (microsoft/monaco-editor#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Apr 19, 2018
1 parent bcd0803 commit 9228657
Show file tree
Hide file tree
Showing 7 changed files with 336 additions and 130 deletions.
115 changes: 66 additions & 49 deletions browser-esm-webpack-small/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions browser-esm-webpack-small/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "helloworld",
"dependencies": {},
"devDependencies": {
"css-loader": "^0.28.10",
"monaco-editor": "^0.11.0",
"style-loader": "^0.20.3",
"uglifyjs-webpack-plugin": "^1.2.3",
"webpack": "^4.1.1",
"webpack-cli": "^2.0.12"
"css-loader": "^0.28.11",
"monaco-editor": "^0.12.0",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.14"
}
}
1 change: 1 addition & 0 deletions browser-esm-webpack-small/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
// "ts.worker": 'monaco-editor/esm/vs/language/typescript/ts.worker',
},
output: {
globalObject: 'self',
filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist')
},
Expand Down
Loading

0 comments on commit 9228657

Please sign in to comment.