@@ -238,22 +238,43 @@ Remember that if you define the same options in your configuration file (e.g. `r
238238
239239These are the base defaults that Re.Pack provides regardless of the command being run:
240240
241- ``` js
242- {
243- devtool: " source-map" ,
244- output: {
245- clean: true ,
246- hashFunction: " xxhash64" ,
247- filename: " index.bundle" ,
248- chunkFilename: " [name].chunk.bundle" ,
249- path: " [context]/build/generated/[platform]" ,
250- publicPath: " noop:///" ,
251- },
252- optimization: {
253- chunkIds: " named" ,
254- },
255- }
256- ```
241+ <Tabs >
242+ <Tab label = " Rspack" >
243+ <CodeBlock language = " js" >{ ` {
244+ devtool: "source-map",
245+ experiments: {
246+ parallelLoader: true,
247+ },
248+ output: {
249+ clean: true,
250+ hashFunction: "xxhash64",
251+ filename: "index.bundle",
252+ chunkFilename: "[name].chunk.bundle",
253+ path: "[context]/build/generated/[platform]",
254+ publicPath: "noop:///",
255+ },
256+ optimization: {
257+ chunkIds: "named",
258+ },
259+ } ` } </CodeBlock >
260+ </Tab >
261+ <Tab label = " webpack" >
262+ <CodeBlock language = " js" >{ ` {
263+ devtool: "source-map",
264+ output: {
265+ clean: true,
266+ hashFunction: "xxhash64",
267+ filename: "index.bundle",
268+ chunkFilename: "[name].chunk.bundle",
269+ path: "[context]/build/generated/[platform]",
270+ publicPath: "noop:///",
271+ },
272+ optimization: {
273+ chunkIds: "named",
274+ },
275+ } ` } </CodeBlock >
276+ </Tab >
277+ </Tabs >
257278
258279## Configuration enhancements
259280
0 commit comments