Skip to content

Commit

Permalink
chore: remove worker-loader
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Apr 8, 2024
1 parent cc75e1f commit 48897f2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 402 deletions.
14 changes: 0 additions & 14 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,6 @@ let nextConfig = {
'utf-8-validate': 'commonjs utf-8-validate',
bufferutil: 'commonjs bufferutil',
})
config.module.rules.unshift({
test: /\.worker\.ts$/,
loader: 'worker-loader',
options: {
publicPath: '/_next/',
worker: {
type: 'SharedWorker',
// https://v4.webpack.js.org/loaders/worker-loader/#worker
options: {
name: 'shiro-ws-worker',
},
},
},
})

return config
},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@
"tailwindcss": "^3.4.3",
"tailwindcss-animated": "1.0.1",
"typescript": "5.4.4",
"worker-loader": "3.0.8",
"zx": "7.2.3"
},
"nextBundleAnalysis": {
Expand Down
Loading

0 comments on commit 48897f2

Please sign in to comment.