2023-01-31 19:17:46 +02:00

40 lines
1.2 KiB
JSON

{
"name": "init",
"factory": "./src/generators/init/init#webpackInitGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxWebpackInit",
"cli": "nx",
"title": "Init Webpack Plugin",
"description": "Initialize the Webpack Plugin.",
"type": "object",
"properties": {
"uiFramework": {
"type": "string",
"description": "UI Framework to use for Webpack.",
"enum": ["react", "none"],
"x-prompt": "What UI framework plugin should Webpack use?"
},
"compiler": {
"type": "string",
"enum": ["babel", "swc", "tsc"],
"description": "The compiler to initialize for.",
"default": "babel"
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false
}
},
"required": [],
"presets": []
},
"description": "Initialize the `@nrwl/webpack` plugin.",
"aliases": ["ng-add"],
"hidden": true,
"implementation": "/packages/webpack/src/generators/init/init#webpackInitGenerator.ts",
"path": "/packages/webpack/src/generators/init/schema.json",
"type": "generator"
}