Add worker bundling configuration

This commit is contained in:
Nilay Majorwar
2021-12-18 15:52:25 +05:30
parent 2ef2ab5ea6
commit 2322ebe55d
7 changed files with 666 additions and 16 deletions

View File

@@ -5,7 +5,9 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"dev:worker": "webpack -c worker-pack/webpack.dev.js --watch",
"build:worker": "webpack -c worker-pack/webpack.prod.js"
},
"dependencies": {
"@blueprintjs/core": "^3.51.3",
@@ -21,6 +23,10 @@
"@types/react": "17.0.37",
"eslint": "8.4.0",
"eslint-config-next": "12.0.7",
"typescript": "4.5.2"
"ts-loader": "^9.2.6",
"typescript": "4.5.2",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-merge": "^5.8.0"
}
}