This commit is contained in:
2022-07-18 02:50:52 +00:00
parent befd344ab0
commit 06181b34d6
8569 changed files with 818704 additions and 352705 deletions
+6 -1
View File
@@ -26,7 +26,12 @@ module.exports = class TimeFixPlugin {
// Reset time
compiler.hooks.done.tap('time-fix-plugin', stats => {
if (watching && !fixed) {
stats.startTime -= this.watchOffset
// webpack 5: #3
if (stats.compilation.startTime) {
stats.compilation.startTime -= this.watchOffset
} else {
stats.startTime -= this.watchOffset
}
fixed = true
}
})
+12 -12
View File
@@ -1,32 +1,32 @@
{
"_args": [
[
"time-fix-plugin@2.0.6",
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
"time-fix-plugin@2.0.7",
"/home/node/nuxt"
]
],
"_from": "time-fix-plugin@2.0.6",
"_id": "time-fix-plugin@2.0.6",
"_from": "time-fix-plugin@2.0.7",
"_id": "time-fix-plugin@2.0.7",
"_inBundle": false,
"_integrity": "sha512-2cjjg3672ppNm/uKhHAoCFp1ItEAiH+xJOjO9WGIF8hXuxPAJ2adfYgFiyooVbsOb948c+WrRh+edxFUMxYHoQ==",
"_integrity": "sha512-uVFet1LQToeUX0rTcSiYVYVoGuBpc8gP/2jnlUzuHMHe+gux6XLsNzxLUweabMwiUj5ejhoIMsUI55nVSEa/Vw==",
"_location": "/time-fix-plugin",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "time-fix-plugin@2.0.6",
"raw": "time-fix-plugin@2.0.7",
"name": "time-fix-plugin",
"escapedName": "time-fix-plugin",
"rawSpec": "2.0.6",
"rawSpec": "2.0.7",
"saveSpec": null,
"fetchSpec": "2.0.6"
"fetchSpec": "2.0.7"
},
"_requiredBy": [
"/@nuxt/webpack"
],
"_resolved": "https://registry.npmjs.org/time-fix-plugin/-/time-fix-plugin-2.0.6.tgz",
"_spec": "2.0.6",
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
"_resolved": "https://registry.npmjs.org/time-fix-plugin/-/time-fix-plugin-2.0.7.tgz",
"_spec": "2.0.7",
"_where": "/home/node/nuxt",
"author": {
"name": "egoist",
"email": "0x142857@gmail.com"
@@ -58,7 +58,7 @@
"lint": "xo",
"test": "npm run lint && echo 'no tests!'"
},
"version": "2.0.6",
"version": "2.0.7",
"xo": {
"extends": "rem",
"ignores": [