seedling/source/ui/scripts/webpack-prod.js
Roman Jaroš ed0957becd
Some checks failed
forgejo/Procyon/seedling/pipeline/head There was a failure building this commit
forgejo/Procyon/seedling/pipeline/pr-master There was a failure building this commit
Add .devcontainer + minor changes
2023-12-22 17:50:22 +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(),
],
});
};