Skip to content

Commit 697a108

Browse files
committed
fix(lib): added required packages
1 parent d9a7dfa commit 697a108

File tree

3 files changed

+1995
-75
lines changed

3 files changed

+1995
-75
lines changed

angular.json

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,69 @@
2929
],
3030
"styles": [
3131
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
32+
"./node_modules/prismjs/themes/prism-okaidia.css",
3233
"src/styles.scss"
3334
],
34-
"scripts": []
35+
"scripts": [
36+
"./node_modules/prismjs/prism.js",
37+
"./node_modules/prismjs/components/prism-typescript.min.js"
38+
]
39+
},
40+
"configurations": {
41+
"production": {
42+
"fileReplacements": [
43+
{
44+
"replace": "src/environments/environment.ts",
45+
"with": "src/environments/environment.prod.ts"
46+
}
47+
],
48+
"optimization": true,
49+
"outputHashing": "all",
50+
"sourceMap": false,
51+
"extractCss": true,
52+
"namedChunks": false,
53+
"extractLicenses": true,
54+
"vendorChunk": false,
55+
"buildOptimizer": true,
56+
"budgets": [
57+
{
58+
"type": "initial",
59+
"maximumWarning": "2mb",
60+
"maximumError": "5mb"
61+
},
62+
{
63+
"type": "anyComponentStyle",
64+
"maximumWarning": "6kb",
65+
"maximumError": "10kb"
66+
}
67+
]
68+
}
69+
}
70+
},
71+
"build_ghpages": {
72+
"builder": "@angular-devkit/build-angular:browser",
73+
"options": {
74+
"baseHref": "/select-icon/",
75+
"deployUrl": "/select-icon/",
76+
"outputPath": "dist/browser",
77+
"index": "src/index.html",
78+
"main": "src/main.ts",
79+
"polyfills": "src/polyfills.ts",
80+
"tsConfig": "tsconfig.app.json",
81+
"aot": true,
82+
"assets": [
83+
"src/favicon.ico",
84+
"src/assets"
85+
],
86+
"styles": [
87+
"src/styles.scss",
88+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
89+
"./node_modules/prismjs/themes/prism-okaidia.css"
90+
],
91+
"scripts": [
92+
"./node_modules/prismjs/prism.js",
93+
"./node_modules/prismjs/components/prism-typescript.min.js"
94+
]
3595
},
3696
"configurations": {
3797
"production": {
@@ -171,6 +231,19 @@
171231
"configurations": {
172232
"production": {}
173233
}
234+
},
235+
"prerender_ghpages": {
236+
"builder": "@nguniversal/builders:prerender",
237+
"options": {
238+
"browserTarget": "select-icon:build_ghpages:production",
239+
"serverTarget": "select-icon:server:production",
240+
"routes": [
241+
"/"
242+
]
243+
},
244+
"configurations": {
245+
"production": {}
246+
}
174247
}
175248
}
176249
},
@@ -219,4 +292,4 @@
219292
"cli": {
220293
"analytics": "7f7691ff-00c4-4b9e-9902-9d8a30ee6eb7"
221294
}
222-
}
295+
}

0 commit comments

Comments
 (0)