mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 17:38:19 +08:00
添加cache-loader,debug模式下不再使用template缓存,修复一些 bug
This commit is contained in:
1 parent
dd7914e1fb
commit
11368bc831
21 files changed
+248
-266
No files matched your search
+8
-8
@@ -34,7 +34,7 @@
|
||||
"superagent": "^5.2.2",
|
||||
"superagent-proxy": "^2.0.0",
|
||||
"systeminformation": "^4.26.5",
|
||||
"yargs": "^15.4.0"
|
||||
"yargs-parser": "^18.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/adm-zip": "^0.4.33",
|
||||
@@ -45,7 +45,7 @@
|
||||
"@types/lodash": "^4.14.157",
|
||||
"@types/markdown-it": "^10.0.1",
|
||||
"@types/mongodb": "^3.5.25",
|
||||
"@types/node": "^14.0.21",
|
||||
"@types/node": "^14.0.22",
|
||||
"@types/nodemailer": "^6.4.0",
|
||||
"@types/nunjucks": "^3.1.3",
|
||||
"@types/prismjs": "^1.16.1",
|
||||
@@ -55,21 +55,21 @@
|
||||
"@types/yargs": "^15.0.5",
|
||||
"@typescript-eslint/eslint-plugin": "^3.6.0",
|
||||
"@typescript-eslint/parser": "^3.6.0",
|
||||
"cache-loader": "^4.1.0",
|
||||
"eslint": "^7.4.0",
|
||||
"eslint-config-airbnb-base": "^14.2.0",
|
||||
"eslint-import-resolver-typescript": "^2.0.0",
|
||||
"eslint-plugin-import": "^2.20.2",
|
||||
"friendly-errors-webpack-plugin": "^1.7.0",
|
||||
"snyk": "^1.354.0",
|
||||
"ts-node": "^8.10.2",
|
||||
"tsc": "^1.20150623.0",
|
||||
"ts-loader": "^8.0.0",
|
||||
"typescript": "^3.9.6",
|
||||
"webpack": "^4.42.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc && node build/development.js",
|
||||
"build:development": "tsc && node build/development.js",
|
||||
"build:production": "tsc && node build/production.js",
|
||||
"build": "node build --development",
|
||||
"build:development": "node build --development",
|
||||
"build:production": "node build --production",
|
||||
"build:all": "cd ui && yarn && yarn build:production && cd .. && yarn && yarn build:production",
|
||||
"start": "ts-node hydro/loader.ts",
|
||||
"pkg": "pkg .",
|
||||
@@ -86,4 +86,4 @@
|
||||
]
|
||||
},
|
||||
"snyk": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user