mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
40 lines
910 B
JSON
40 lines
910 B
JSON
{
|
|
"name": "webpack5",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/webpack5",
|
|
"projectType": "library",
|
|
"generators": {},
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"options": {
|
|
"lintFilePatterns": []
|
|
}
|
|
},
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"inputs": ["default", "^production"],
|
|
"outputs": ["{workspaceRoot}/dist/packages/webpack5"],
|
|
"options": {
|
|
"tsConfig": "{projectRoot}/tsconfig.lib.json",
|
|
"outputPath": "{workspaceRoot}/dist/packages/webpack5/dist",
|
|
"rootDir": "{projectRoot}/src",
|
|
"main": "{projectRoot}/src/index.ts",
|
|
"assets": [
|
|
{
|
|
"input": "{projectRoot}/src/stubs",
|
|
"glob": "*.{js,mjs}",
|
|
"output": "stubs"
|
|
},
|
|
{
|
|
"input": "{projectRoot}",
|
|
"glob": "package.json",
|
|
"output": ".."
|
|
}
|
|
],
|
|
"generatePackageJson": false
|
|
}
|
|
}
|
|
}
|
|
}
|