Created
October 17, 2021 16:43
-
-
Save jasonruesch/bc12eac304ba481d763f6372e0fcdbc6 to your computer and use it in GitHub Desktop.
Add generatePackageJson to build target's options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"root": "apps/api", | |
"sourceRoot": "apps/api/src", | |
"projectType": "application", | |
"targets": { | |
"build": { | |
"executor": "@nrwl/node:build", | |
"outputs": [ | |
"{options.outputPath}" | |
], | |
"options": { | |
"outputPath": "dist/apps/api", | |
"main": "apps/api/src/main.ts", | |
"tsConfig": "apps/api/tsconfig.app.json", | |
"assets": [ | |
"apps/api/src/assets" | |
], | |
"generatePackageJson": true | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment