Add API monorepo

Change-Id: I39aa1707744bb86c4bc9113157bbf815bb3fe33a
This commit is contained in:
Roman Jaroš 2023-09-10 21:24:57 +02:00
parent b87cff043a
commit 5246efb027
56 changed files with 251 additions and 22 deletions

View file

@ -0,0 +1,16 @@
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(),
],
});
};