Skip to content

Commit

Permalink
add Next config option experimental.webpackBuildWorker
Browse files Browse the repository at this point in the history
This is on by default, but off for custom configs.
  • Loading branch information
orangecms committed Nov 16, 2023
1 parent c32981a commit dbd143c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const WasmPackPlugin = require('@wasm-tool/wasm-pack-plugin');
module.exports = {
output: "export",
basePath: "/dtvis",
experimental: {
webpackBuildWorker: true,
},
webpack: (
config,
{ buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }
Expand Down

0 comments on commit dbd143c

Please sign in to comment.