refactor: monorepo+pnpm (removed husky)
This commit is contained in:
9
packages/hoppscotch-app/plugins/web-worker.js
Normal file
9
packages/hoppscotch-app/plugins/web-worker.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import RegexWorker from "~/assets/js/regex.worker"
|
||||
|
||||
export default (_, inject) => {
|
||||
inject("worker", {
|
||||
createRejexWorker() {
|
||||
return new RegexWorker()
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user