Skip to content

Commit 54fd905

Browse files
authored
Merge pull request #266 from TrejGun/port
fix examples to match docs
2 parents 9f3dd0b + 026b880 commit 54fd905

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack/examples.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ var Autoprefixer = require('less-plugin-autoprefix');
66
const port = Number(process.argv[2]) || Number(process.env.PORT) || 3000
77

88
module.exports = {
9-
port,
9+
devServer: {
10+
port
11+
},
1012
devtool: 'source-map',
1113
entry: path.join(__dirname, '../examples/App.js'),
1214
output: {

0 commit comments

Comments
 (0)