|
@@ -13,7 +13,6 @@
|
|
|
"build": {
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
"options": {
|
|
|
-
|
|
|
"outputPath": "www",
|
|
|
"index": "src/index.html",
|
|
|
"main": "src/main.ts",
|
|
@@ -45,8 +44,8 @@
|
|
|
},
|
|
|
{
|
|
|
"type": "anyComponentStyle",
|
|
|
- "maximumWarning": "2kb",
|
|
|
- "maximumError": "4kb"
|
|
|
+ "maximumWarning": "10kb",
|
|
|
+ "maximumError": "20kb"
|
|
|
}
|
|
|
],
|
|
|
"fileReplacements": [
|
|
@@ -55,7 +54,36 @@
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
}
|
|
|
],
|
|
|
- "outputHashing": "all"
|
|
|
+ "outputHashing": "all",
|
|
|
+ "allowedCommonJsDependencies": [
|
|
|
+ "camelcase",
|
|
|
+ "decamelize",
|
|
|
+ "p-retry",
|
|
|
+ "@amap/amap-jsapi-loader",
|
|
|
+ "crypto-js",
|
|
|
+ "jquery",
|
|
|
+ "markdown-it-abbr",
|
|
|
+ "markdown-it-deflist",
|
|
|
+ "markdown-it-footnote",
|
|
|
+ "markdown-it-ins",
|
|
|
+ "markdown-it-mark",
|
|
|
+ "markdown-it-ruby",
|
|
|
+ "markdown-it-sub",
|
|
|
+ "markdown-it-sup",
|
|
|
+ "mathjax-full/js/adaptors/liteAdaptor",
|
|
|
+ "mathjax-full/js/handlers/html",
|
|
|
+ "mathjax-full/js/input/tex",
|
|
|
+ "mathjax-full/js/input/tex/AllPackages",
|
|
|
+ "mathjax-full/js/mathjax",
|
|
|
+ "mathjax-full/js/output/chtml",
|
|
|
+ "mathjax-full/js/output/svg",
|
|
|
+ "microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/Audio/PushAudioOutputStreamCallback",
|
|
|
+ "plantuml-encoder",
|
|
|
+ "recorder-core",
|
|
|
+ "spark-md5",
|
|
|
+ "semver",
|
|
|
+ "querystring"
|
|
|
+ ]
|
|
|
},
|
|
|
"development": {
|
|
|
"buildOptimizer": false,
|
|
@@ -148,4 +176,4 @@
|
|
|
"styleext": "scss"
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|