Initial commit
CI / Сборка (push) Canceled after 0s
CI / Деплой на стейджинг (push) Canceled after 0s
CI / Проверка кода (push) Canceled after 0s
CI / Сборка (pull_request) Successful in 1m33s
Стенд master
CI / Деплой на стейджинг (pull_request) Successful in 8s
CI / Проверка кода (pull_request) Successful in 1m32s

This commit is contained in:
arswarog committed 2026-11-10 17:22:12 +03:00
commit 1420aad1ae
92 files changed
+19114

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
const webpack = require('webpack');
const { createApiWebpackConfig } = require('./webpack.base');
module.exports = createApiWebpackConfig({
output: {
clean: true,
...(process.env.NODE_ENV !== 'production' && {
devtoolModuleFilenameTemplate: '[absolute-resource-path]',
}),
},
nxPlugin: {
main: './src/main.ts',
generatePackageJson: true,
sourceMap: true,
},
plugins: [
new webpack.DefinePlugin({
__APP_VERSION__: JSON.stringify(process.env.APP_VERSION || 'unknown'),
}),
],
});