diff --git a/src/vector/app.tsx b/src/vector/app.tsx index d609a2558d..35e20a0837 100644 --- a/src/vector/app.tsx +++ b/src/vector/app.tsx @@ -38,6 +38,8 @@ import { createClient } from "matrix-js-sdk/src/matrix"; let lastLocationHashSet: string = null; +console.log(`Application is running in ${process.env.NODE_ENV} mode`); + // Parse the given window.location and return parameters that can be used when calling // MatrixChat.showScreen(screen, params) function getScreenFromLocation(location: Location) { diff --git a/webpack.config.js b/webpack.config.js index fa5ad87d7d..db69ed5a2b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -462,11 +462,6 @@ module.exports = (env, argv) => { }, plugins: [ - new webpack.EnvironmentPlugin({ - NODE_ENV: 'development', // use 'development' unless process.env.NODE_ENV is defined - DEBUG: false, - }), - // This exports our CSS using the splitChunks and loaders above. new MiniCssExtractPlugin({ filename: useHMR ? "bundles/[name].css" : "bundles/[hash]/[name].css",