mirror of
https://github.com/CaramelFur/Picsur.git
synced 2026-06-21 17:31:55 +02:00
Change bundle limits and build script
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
"sourceRoot": "src",
|
||||
"architect": {
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"builder": "@angular-builders/custom-webpack:browser",
|
||||
"options": {
|
||||
"outputPath": "dist",
|
||||
"index": "src/index.html",
|
||||
@@ -42,18 +42,22 @@
|
||||
"allowedCommonJsDependencies": [
|
||||
"ngx-auto-unsubscribe-decorator",
|
||||
"moment",
|
||||
"platform"
|
||||
"platform",
|
||||
"form-data"
|
||||
],
|
||||
"optimization": true,
|
||||
"webWorkerTsConfig": "tsconfig.worker.json"
|
||||
"webWorkerTsConfig": "tsconfig.worker.json",
|
||||
"customWebpackConfig": {
|
||||
"path": "./custom-webpack.config.js"
|
||||
}
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "500kb",
|
||||
"maximumError": "1mb"
|
||||
"maximumWarning": "1mb",
|
||||
"maximumError": "2mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
|
||||
Reference in New Issue
Block a user