diff --git a/src/engine.js b/src/engine.js index a0c766d10..6438aa202 100644 --- a/src/engine.js +++ b/src/engine.js @@ -24,7 +24,6 @@ import {CONSTANTS} from "./Constants.js"; import {Programs, displayCreateProgramContent, getNumAvailableCreateProgram, initCreateProgramButtons} from "./CreateProgram.js"; -import {DevModeEnabled} from "./devmode.js" import {displayFactionContent, joinFaction, processPassiveFactionRepGain, Factions, inviteToFaction, initFactions} from "./Faction.js"; diff --git a/webpack.config.js b/webpack.config.js index 5bb4bde5d..aba4f5fec 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -5,7 +5,7 @@ module.exports = (env, argv) => ({ //mode: "development", plugins: [ new webpack.DefinePlugin({ - 'process.env.NODE_ENV': argv.mode === 'development' ? JSON.stringify('development') : JSON.stringify('production') + 'process.env.NODE_ENV': argv.mode === 'development' ? "\"development\"" : "\"production\"" }), // http://stackoverflow.com/questions/29080148/expose-jquery-to-real-window-object-with-webpack new webpack.ProvidePlugin({