Skip to content

Commit

Permalink
fix: Revert all that ESM stuff, Node 22/23 fixes everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Dec 6, 2024
1 parent 420e5e5 commit 4c02ec0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 40 deletions.
3 changes: 0 additions & 3 deletions apps/backend/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion apps/backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"tsConfig": "apps/backend/tsconfig.app.json",
"assets": ["apps/backend/src/assets"],
"generatePackageJson": true,
"webpackConfig": "apps/backend/webpack.config.cjs"
"webpackConfig": "apps/backend/webpack.config.js"
},
"configurations": {
"development": {
Expand Down
35 changes: 0 additions & 35 deletions apps/backend/webpack.config.cjs

This file was deleted.

13 changes: 13 additions & 0 deletions apps/backend/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const { composePlugins, withNx} = require('@nx/webpack');

// Nx plugins for webpack.
module.exports = composePlugins(
withNx({
target: 'node',
}),
(config) => {
// Update the webpack config as needed here.
// e.g. `config.plugins.push(new MyPlugin())`
return config;
}
);
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "apollusia",
"version": "0.0.0",
"license": "MIT",
"type": "module",
"scripts": {
"serve:frontend": "nx serve frontend",
"serve:backend": "nx serve backend",
Expand Down

0 comments on commit 4c02ec0

Please sign in to comment.