Browse Source

Readd modernized NX Executors

pull/5027/head
Daniel Devaud 2 years ago
parent
commit
6ab9b1c435
  1. 3
      apps/api/project.json
  2. 6
      apps/api/webpack.config.js

3
apps/api/project.json

@ -14,7 +14,8 @@
"tsConfig": "apps/api/tsconfig.app.json",
"assets": ["apps/api/src/assets"],
"target": "node",
"compiler": "tsc"
"compiler": "tsc",
"webpackConfig": "apps/api/webpack.config.js"
},
"configurations": {
"production": {

6
apps/api/webpack.config.js

@ -0,0 +1,6 @@
const { composePlugins, withNx } = require('@nx/webpack');
module.exports = composePlugins(withNx(), (config, { options, context }) => {
// Customize webpack config here
return config;
});
Loading…
Cancel
Save