(build) build publicodes en mode development par défaut

pull/1380/head
Johan Girod 2021-01-21 13:26:30 +01:00
parent 512bc74820
commit 9a0e26ba8c
1 changed files with 1 additions and 2 deletions

View File

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