Skip to content

Commit

Permalink
fix: fix broken webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdor committed Oct 20, 2021
1 parent 1df5342 commit a26ddf4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions demo/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ module.exports = {
port: 8090,
historyApiFallback: false,
hot: true,
contentBase: "./demo",
open: true,
openPage: dcPath,
static: path.join(__dirname),
open: dcPath,
headers: {
"Access-Control-Allow-Origin": dcPath,
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"rollup": "2.58.0",
"rollup-plugin-terser": "7.0.2",
"size-limit": "^6.0.3",
"webpack": "5.59.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.3.1"
"webpack": "^5.59.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.3.1"
}
}

0 comments on commit a26ddf4

Please sign in to comment.