mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: Reduce deployment times by excluding Docker images (#1945)
* chore: Reduce deployment times by excluding Docker images Only the Windows and Linux binaries are build during deploy, so we can save many minutes by excluding Docker images. * Stop docker image builds on snapshot * Fix artifact upload * Skip typecheck for release * Flag deploy
This commit is contained in:
+4
-2
@@ -5,14 +5,16 @@
|
||||
import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin"
|
||||
import { Configuration } from "webpack"
|
||||
import "webpack-dev-server"
|
||||
import { commonWebpackConfig } from "./webpack.common"
|
||||
import { createCommonWebpackConfig } from "./webpack.common"
|
||||
|
||||
const commonWebpackConfig = createCommonWebpackConfig()
|
||||
|
||||
const commonPlugins = commonWebpackConfig.plugins || []
|
||||
|
||||
const commonRules = commonWebpackConfig.module?.rules || []
|
||||
|
||||
const config: Configuration = {
|
||||
...commonWebpackConfig,
|
||||
...createCommonWebpackConfig,
|
||||
|
||||
// devtool controls how source maps are generated. In development, we want
|
||||
// more details (less optimized) for more readability and an easier time
|
||||
|
||||
Reference in New Issue
Block a user