Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee66d0e

Browse files
committed
fix: Use proper webpack config for dev mode
This was broken when improving the build times. The typechecker unfortunately missed it!
1 parent 013f028 commit ee66d0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/webpack.dev.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const commonPlugins = commonWebpackConfig.plugins || []
1414
const commonRules = commonWebpackConfig.module?.rules || []
1515

1616
const config: Configuration = {
17-
...createCommonWebpackConfig,
17+
...commonWebpackConfig,
1818

1919
// devtool controls how source maps are generated. In development, we want
2020
// more details (less optimized) for more readability and an easier time
@@ -63,7 +63,7 @@ const config: Configuration = {
6363
port: process.env.PORT || 8080,
6464
proxy: {
6565
"/api": {
66-
target: "http://localhost:3000",
66+
target: "https://dev.coder.com",
6767
ws: true,
6868
secure: false,
6969
},

0 commit comments

Comments
 (0)