Remove unused isCi var

This commit is contained in:
Asher 2019-02-06 12:05:48 -06:00
parent 972806b210
commit f034aee26e
No known key found for this signature in database
GPG key ID: 7BB4BA9C783D2BBC
3 changed files with 2 additions and 7 deletions

View file

@ -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")());

View file

@ -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",

View file

@ -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",