mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 20:23:04 +02:00
git-subtree-dir: Programming/BD2 git-subtree-mainline:4b5b8e44e8git-subtree-split:ec90ad34d5
20 lines
437 B
JavaScript
20 lines
437 B
JavaScript
const { NxWebpackPlugin } = require('@nx/webpack');
|
|
const { join } = require('path');
|
|
|
|
module.exports = {
|
|
output: {
|
|
path: join(__dirname, '../../dist/apps/my-nest-app'),
|
|
},
|
|
plugins: [
|
|
new NxWebpackPlugin({
|
|
target: 'node',
|
|
compiler: 'tsc',
|
|
main: './src/main.ts',
|
|
tsConfig: './tsconfig.app.json',
|
|
assets: ['./src/assets'],
|
|
optimization: false,
|
|
outputHashing: 'none',
|
|
}),
|
|
],
|
|
};
|