@rspack/core
Advanced tools
Comparing version 0.0.0-20221025165902 to 0.0.0-20221026015301
@@ -209,3 +209,3 @@ "use strict"; | ||
rebuild(changedFiles, cb) { | ||
const rebuild_cb = util_1.default.callbackify(__classPrivateFieldGet(this, _Compiler_instance, "f").rebuild.bind(__classPrivateFieldGet(this, _Compiler_instance, "f"))); | ||
const rebuild_cb = util_1.default.callbackify(__classPrivateFieldGet(this, _Compiler_instance, "f").rebuild.bind(__classPrivateFieldGet(this, _Compiler_instance, "f"), changedFiles, [])); | ||
rebuild_cb((err, stats) => { | ||
@@ -234,3 +234,3 @@ if (err) { | ||
const diffStats = await util_1.default.promisify(this.rebuild.bind(this))([path]); | ||
console.log("build success, time cost", Date.now() - begin); | ||
console.log(`build success, time cost ${(Date.now() - begin) / 1000}ms`); | ||
}); | ||
@@ -237,0 +237,0 @@ return { |
{ | ||
"name": "@rspack/core", | ||
"version": "0.0.0-20221025165902", | ||
"version": "0.0.0-20221026015301", | ||
"main": "./dist/index.js", | ||
@@ -10,3 +10,3 @@ "types": "./dist/index.d.ts", | ||
"devDependencies": { | ||
"@rspack/core": "0.0.0-20221025165902", | ||
"@rspack/core": "0.0.0-20221026015301", | ||
"@swc/helpers": "^0.4.12", | ||
@@ -27,6 +27,6 @@ "@types/jest": "29.0.2", | ||
"dependencies": { | ||
"@rspack/binding": "0.0.0-20221025165902", | ||
"@rspack/dev-client": "0.0.0-20221025165902", | ||
"@rspack/plugin-less": "^0.0.0-20221025165902", | ||
"@rspack/plugin-postcss": "^0.0.0-20221025165902", | ||
"@rspack/binding": "0.0.0-20221026015301", | ||
"@rspack/dev-client": "0.0.0-20221026015301", | ||
"@rspack/plugin-less": "^0.0.0-20221026015301", | ||
"@rspack/plugin-postcss": "^0.0.0-20221026015301", | ||
"browserslist": "^4.21.3", | ||
@@ -33,0 +33,0 @@ "chokidar": "3.5.3", |
Sorry, the diff of this file is not supported yet
219443
+ Added@rspack/binding@0.0.0-20221026015301(transitive)
+ Added@rspack/dev-client@0.0.0-20221026015301(transitive)
- Removed@rspack/binding@0.0.0-20221025165902(transitive)
- Removed@rspack/dev-client@0.0.0-20221025165902(transitive)