Skip to content

Commit

Permalink
fix(examples/web): updated webpack deps and npm start (#2530)
Browse files Browse the repository at this point in the history
  • Loading branch information
xonev authored Nov 26, 2024
1 parent 2784357 commit 6ee7e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"docker:start": "cd ./docker && docker-compose down && docker-compose up",
"docker:startd": "cd ./docker && docker-compose down && docker-compose up -d",
"start": "webpack-dev-server -d --progress --colors --port 8090 --config webpack.config.js --hot --inline --host 0.0.0.0 --content-base examples"
"start": "webpack-dev-server --progress --color --port 8090 --config ./webpack.config.js --hot --host 0.0.0.0"
},
"repository": {
"type": "git",
Expand All @@ -31,8 +31,8 @@
"babel-loader": "^8.3.0",
"ts-loader": "^6.2.2",
"webpack": "5.89.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.3",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.0.0",
"webpack-merge": "^4.2.2"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const common = {
module.exports = webpackMerge(common, {
devtool: 'eval-source-map',
devServer: {
contentBase: path.resolve(__dirname),
static: path.resolve(path.join(__dirname, "examples")),
},
plugins: [
new webpack.DefinePlugin({
Expand Down

0 comments on commit 6ee7e7f

Please sign in to comment.