seedling/source/ui/scripts/webpack-prod.js
Roman Jaroš 8aeff18162
All checks were successful
forgejo/Procyon/seedling/pipeline/pr-master This commit looks good
forgejo/Procyon/seedling/pipeline/head This commit looks good
Add .devcontainer + minor changes
2023-12-22 17:53:19 +00:00

16 lines
420 B
JavaScript

const { merge } = require('webpack-merge');
const myEnv = require('dotenv').config({ path: 'config/app/.env.prod' }).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(),
],
});
};