1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

Automatically target production for client-side builds

This commit is contained in:
Kyle Carberry 2019-03-14 22:29:19 +00:00
parent e3d9716607
commit 2e53bb6690
No known key found for this signature in database
GPG Key ID: 42E8F51E81E8201C

View File

@ -7,7 +7,7 @@ const HtmlWebpackPlugin = require("html-webpack-plugin");
// const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer");
const root = path.join(__dirname, "..");
const prod = process.env.NODE_ENV === "production";
const prod = process.env.NODE_ENV === "production" || process.env.CI === "true";
module.exports = (options = {}) => merge(
require("./webpack.general.config")(options), {