Skip to content

Commit

Permalink
chore(root): revise devServer
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed May 19, 2024
1 parent d39d64a commit cd3d256
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ module.exports = {
extensions: ['', '.js', '.jsx'],
},
devServer: {
static: path.join(__dirname, 'docs'),
port: 8000,
static: {
directory: path.join(__dirname, 'docs'),
},
compress: true,
port: 8080,
},
};

0 comments on commit cd3d256

Please sign in to comment.