mirror of https://github.com/coder/code-server.git
Remove unused isCi var
This commit is contained in:
parent
972806b210
commit
f034aee26e
|
@ -6,6 +6,7 @@ const HappyPack = require("happypack");
|
|||
|
||||
module.exports = merge({
|
||||
devtool: "none",
|
||||
mode: "development",
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
@ -56,6 +57,4 @@ module.exports = merge({
|
|||
"process.env.CLI": `"${process.env.CLI ? "true" : "false"}"`,
|
||||
}),
|
||||
],
|
||||
}, require("../../scripts/webpack.general.config")(), {
|
||||
mode: "development",
|
||||
});
|
||||
}, require("../../scripts/webpack.general.config")());
|
||||
|
|
|
@ -9,7 +9,6 @@ const vsFills = path.join(root, "packages/vscode/src/fill");
|
|||
const merge = require("webpack-merge");
|
||||
|
||||
module.exports = merge({
|
||||
devtool: "source-map",
|
||||
entry: "./packages/web/src/index.ts",
|
||||
output: {
|
||||
chunkFilename: "[name]-[hash:6].bundle.js",
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
const path = require("path");
|
||||
const environment = process.env.NODE_ENV || "development";
|
||||
const isCi = typeof process.env.CI !== "undefined";
|
||||
const HappyPack = require("happypack");
|
||||
const webpack = require("webpack");
|
||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||
|
@ -10,8 +9,6 @@ const root = path.join(__dirname, "..");
|
|||
module.exports = (options = {}) => ({
|
||||
context: root,
|
||||
devtool: "source-map",
|
||||
// entry: "./packages/app/src/index.ts",
|
||||
mode: isCi ? "production" : "development",
|
||||
module: {
|
||||
rules: [{
|
||||
loader: "string-replace-loader",
|
||||
|
|
Loading…
Reference in New Issue