seedling/source/ui/scripts/webpack-prod.js
Roman Jaroš 5246efb027 Add API monorepo
Change-Id: I39aa1707744bb86c4bc9113157bbf815bb3fe33a
2023-09-10 22:25:09 +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(),
],
});
};