🐛 Répare le build

pull/1383/head
Johan Girod 2021-01-26 09:22:23 +01:00
parent 9a0e26ba8c
commit 03c422990c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ const common = {
resolve: {
extensions: ['.ts', '.tsx', '.js'],
},
mode: process.env.NODE_ENV ?? 'development',
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
entry: path.resolve(__dirname, 'source', 'index.ts'),
module: {
rules: [