From: xangelo Date: Wed, 25 Jan 2023 18:37:10 +0000 (-0500) Subject: fix build missing env var X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;ds=sidebyside;h=a503478efc4434ec26cbac146e85e48c0d76da96;p=apps%2Foutliner%2F.git fix build missing env var --- diff --git a/.gitignore b/.gitignore index 8d00153..7ae7caf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules/ *.txt -*.js +public/*/*.js diff --git a/webpack.config.js b/webpack.config.js index 4380384..1982ddd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,7 +6,7 @@ const env = process.env.ENVIRONMENT || 'development'; module.exports = { mode: env, - devtool: env === 'environment' ? "inline-source-map" : false, + devtool: env === 'development' ? "inline-source-map" : false, entry: { main: "./src/client.ts", },