|
11 | 11 | "prefix": "adoc", |
12 | 12 | "targets": { |
13 | 13 | "build": { |
14 | | - "executor": "@angular-devkit/build-angular:application", |
| 14 | + "executor": "@ng-doc/builder:application", |
15 | 15 | "options": { |
16 | 16 | "outputPath": "dist/docs", |
17 | 17 | "index": "docs/src/index.html", |
18 | 18 | "browser": "docs/src/main.ts", |
19 | 19 | "polyfills": ["zone.js"], |
20 | 20 | "tsConfig": "docs/tsconfig.app.json", |
21 | 21 | "inlineStyleLanguage": "scss", |
22 | | - "assets": ["docs/src/favicon.ico", "docs/src/assets"], |
23 | | - "styles": ["docs/src/styles.scss"], |
24 | | - "scripts": [] |
| 22 | + "assets": [ |
| 23 | + { |
| 24 | + "glob": "**/*", |
| 25 | + "input": "node_modules/@ng-doc/app/assets", |
| 26 | + "output": "assets/ng-doc/app" |
| 27 | + }, |
| 28 | + { |
| 29 | + "glob": "**/*", |
| 30 | + "input": "node_modules/@ng-doc/ui-kit/assets", |
| 31 | + "output": "assets/ng-doc/ui-kit" |
| 32 | + }, |
| 33 | + { |
| 34 | + "glob": "**/*", |
| 35 | + "input": "ng-doc/docs/assets", |
| 36 | + "output": "assets/ng-doc" |
| 37 | + }, |
| 38 | + "docs/src/favicon.ico", |
| 39 | + "docs/src/assets" |
| 40 | + ], |
| 41 | + "styles": [ |
| 42 | + "node_modules/@ng-doc/app/styles/global.css", |
| 43 | + "docs/src/styles.scss" |
| 44 | + ], |
| 45 | + "scripts": [], |
| 46 | + "allowedCommonJsDependencies": ["@ng-doc/core"] |
25 | 47 | }, |
26 | 48 | "configurations": { |
27 | 49 | "production": { |
|
48 | 70 | "defaultConfiguration": "production" |
49 | 71 | }, |
50 | 72 | "serve": { |
51 | | - "executor": "@angular-devkit/build-angular:dev-server", |
| 73 | + "executor": "@ng-doc/builder:dev-server", |
52 | 74 | "configurations": { |
53 | 75 | "production": { |
54 | 76 | "buildTarget": "docs:build:production" |
|
0 commit comments