From 6ab9b1c435c8e59fa2446cec896a9888ab70fa8f Mon Sep 17 00:00:00 2001 From: Daniel Devaud Date: Wed, 3 Jan 2024 18:45:54 +0100 Subject: [PATCH] Readd modernized NX Executors --- apps/api/project.json | 3 ++- apps/api/webpack.config.js | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 apps/api/webpack.config.js diff --git a/apps/api/project.json b/apps/api/project.json index 397a753ec..f3c8bd1e0 100644 --- a/apps/api/project.json +++ b/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": { diff --git a/apps/api/webpack.config.js b/apps/api/webpack.config.js new file mode 100644 index 000000000..2cc38b985 --- /dev/null +++ b/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; +});