mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
chore(website): Enable docusaurus future.experimental_faster (#3978)
This will use rspack and swc to speed up the build process
This commit is contained in:
@@ -22,16 +22,8 @@ const config: Config = {
|
||||
projectName: 'discordeno', // Usually your repo name.
|
||||
trailingSlash: false,
|
||||
|
||||
webpack: {
|
||||
jsLoader: (isServer) => ({
|
||||
loader: require.resolve('esbuild-loader'),
|
||||
options: {
|
||||
loader: 'tsx',
|
||||
jsx: 'automatic',
|
||||
format: isServer ? 'cjs' : undefined,
|
||||
target: isServer ? 'node12' : 'es2017',
|
||||
},
|
||||
}),
|
||||
future: {
|
||||
experimental_faster: true,
|
||||
},
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
|
||||
Reference in New Issue
Block a user