1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

disable uglify in production to find the unknown provider

This commit is contained in:
Sylvain 2020-10-07 09:06:36 +02:00
parent 67b0655272
commit ac4dcfd5fd

View File

@ -1,5 +1,7 @@
process.env.NODE_ENV = process.env.NODE_ENV || 'production';
const environment = require('./environment');
const config = environment.toWebpackConfig();
delete config.optimization.minimizer;
module.exports = environment.toWebpackConfig();
module.exports = config;