We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e323c2b commit ff86550Copy full SHA for ff86550
packages/cycle-scripts/configs/webpackDevServer.config.js
@@ -37,14 +37,15 @@ const path = require('path')
37
38
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http'
39
const host = process.env.HOST || 'localhost'
40
+const port = process.env.PORT || 8000
41
42
const appDirectory = fs.realpathSync(process.cwd())
43
function resolveApp (relativePath) {
44
return path.resolve(appDirectory, relativePath)
45
}
46
47
module.exports = {
- port: 8000, // tofix
48
+ port,
49
// Enable gzip compression of generated files.
50
compress: true,
51
// Silence WebpackDevServer's own logs since they're generally not useful.
0 commit comments