Skip to content

Commit

Permalink
fix: jsdom bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Apr 30, 2024
1 parent e167b34 commit f216ccb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 51 deletions.
48 changes: 2 additions & 46 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@excaliburjs/plugin-tiled",
"version": "0.29.0",
"version": "0.29.2",
"description": "excalibur-tiled provides Tiled map editor integration with Excalibur.js",
"main": "dist/excalibur-tiled.min.js",
"typings": "dist/src/index.d.ts",
Expand Down Expand Up @@ -81,6 +81,9 @@
"optionalDependencies": {
"jsdom": "^23.2.0"
},
"browser": {
"jsdom": false
},
"overrides": {
"webpack-dev-server": {
"webpack-dev-middleware": "7.0.0"
Expand Down
9 changes: 5 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ module.exports = {
root: "ex"
},
"jsdom": {
commonjs: "JSDOM",
commonjs2: "JSDOM",
amd: "JSDOM",
root: "JSDOM"
commonjs: "jsdom",
commonjs2: "jsdom",
amd: "jsdom",
umd: "jsdom",
root: "jsdom"
}
},
plugins: [
Expand Down

0 comments on commit f216ccb

Please sign in to comment.