seedling/source/app/scripts/webpack-prod.js
Roman Jaroš 13ab39d1fd Initial builded version
Change-Id: I8937a5b559134d1d6029d16e9831c961287fee0c
2023-09-09 16:56:30 +02:00

16 lines
416 B
JavaScript

const { merge } = require('webpack-merge');
const myEnv = require('dotenv').config({ path: 'config/prod/.env' }).parsed;
const common = require('./webpack-common');
// const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
module.exports = (env, args) => {
return merge(common(env, args, myEnv), {
mode: 'production',
devtool: false,
plugins: [
// new BundleAnalyzerPlugin(),
],
});
};