chore(monorepo/server): configure to work with top-level await

This commit is contained in:
Elian Doran 2025-04-22 19:18:02 +03:00
parent 462ed3c6be
commit 1c63fb7eec
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "bundler",
"outDir": "dist",
"types": [
"node",

View File

@ -4,6 +4,7 @@ const { join } = require('path');
module.exports = {
output: {
path: join(__dirname, 'dist'),
libraryTarget: "module"
},
plugins: [
new NxAppWebpackPlugin({
@ -17,4 +18,7 @@ module.exports = {
generatePackageJson: true,
})
],
experiments: {
outputModule: true
}
};