feat(client/worker): support web work in frontend with fallback (#31)
* feat(client/web): add upload mgr * feat(uploader): move uploader to worker * feat(upload_mgr): use native worker for uploading * fix(upload_mgr): fix uploading stop not working * chore(client/web): cleanups * test(upload.worker): add unit test for upload.worker * feat(worker): add foreground upload worker * chore(uploader): turn down the speedup
This commit is contained in:
parent
67c07cc81f
commit
31e4850344
27 changed files with 1192 additions and 265 deletions
|
@ -5,8 +5,13 @@ const dev = require("./webpack.dev.js");
|
|||
|
||||
module.exports = merge(dev, {
|
||||
entry: "./src/app.tsx",
|
||||
// entry: [
|
||||
// "./src/app.tsx",
|
||||
// "./src/worker/uploader.worker.ts",
|
||||
// ],
|
||||
context: `${__dirname}`,
|
||||
output: {
|
||||
globalObject: "this",
|
||||
path: `${__dirname}/../../../public/static`,
|
||||
chunkFilename: "[name].bundle.js",
|
||||
filename: "[name].bundle.js"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue