Skip to content

Commit 0326f86

Browse files
committed
It has been a long morning...
2 parents 997a545 + a57a955 commit 0326f86

21 files changed

+14169
-9965
lines changed

browserslist .browserslistrc

File renamed without changes.

angular.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
16+
"aot": true,
1617
"outputPath": "dist/print-lib",
1718
"index": "src/index.html",
1819
"main": "src/main.ts",
@@ -29,6 +30,12 @@
2930
},
3031
"configurations": {
3132
"production": {
33+
"budgets": [
34+
{
35+
"type": "anyComponentStyle",
36+
"maximumWarning": "6kb"
37+
}
38+
],
3239
"fileReplacements": [{
3340
"replace": "src/environments/environment.ts",
3441
"with": "src/environments/environment.prod.ts"
@@ -135,7 +142,8 @@
135142
"configurations": {
136143
"production": {
137144
"project": "projects/ng-thermal-print/ng-package.prod.json"
138-
}
145+
, "tsConfig": "projects/ng-thermal-print/tsconfig.lib.prod.json"
146+
}
139147
}
140148
},
141149
"test": {

e2e/tsconfig.e2e.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"module": "commonjs",

0 commit comments

Comments
 (0)