mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
angular.json optimize
allowedCommonJsDependencies & maximumWarning
This commit is contained in:
parent
be50ee875b
commit
f53a6b5eee
@ -29,7 +29,7 @@
|
|||||||
"assets": ["src/assets", "src/favicon.ico"],
|
"assets": ["src/assets", "src/favicon.ico"],
|
||||||
"styles": ["src/styles.less"],
|
"styles": ["src/styles.less"],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"allowedCommonJsDependencies": ["ajv", "ajv-formats"],
|
"allowedCommonJsDependencies": ["ajv", "ajv-formats","crypto-js"],
|
||||||
"stylePreprocessorOptions": {
|
"stylePreprocessorOptions": {
|
||||||
"includePaths": [
|
"includePaths": [
|
||||||
"node_modules/"
|
"node_modules/"
|
||||||
@ -48,7 +48,7 @@
|
|||||||
"budgets": [
|
"budgets": [
|
||||||
{
|
{
|
||||||
"type": "initial",
|
"type": "initial",
|
||||||
"maximumWarning": "2mb",
|
"maximumWarning": "4mb",
|
||||||
"maximumError": "6mb"
|
"maximumError": "6mb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
"assets": ["src/assets", "src/favicon.ico"],
|
"assets": ["src/assets", "src/favicon.ico"],
|
||||||
"styles": ["src/styles.less"],
|
"styles": ["src/styles.less"],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"allowedCommonJsDependencies": ["ajv", "ajv-formats"],
|
"allowedCommonJsDependencies": ["ajv", "ajv-formats","crypto-js"],
|
||||||
"stylePreprocessorOptions": {
|
"stylePreprocessorOptions": {
|
||||||
"includePaths": [
|
"includePaths": [
|
||||||
"node_modules/"
|
"node_modules/"
|
||||||
@ -48,7 +48,7 @@
|
|||||||
"budgets": [
|
"budgets": [
|
||||||
{
|
{
|
||||||
"type": "initial",
|
"type": "initial",
|
||||||
"maximumWarning": "2mb",
|
"maximumWarning": "4mb",
|
||||||
"maximumError": "6mb"
|
"maximumError": "6mb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user