Skip to content

Commit

Permalink
temp remove DefinePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Aug 14, 2024
1 parent b1f4ae2 commit ca7fefc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/docusaurus/src/webpack/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import path from 'path';
import merge from 'webpack-merge';
// import WebpackBar from 'webpackbar';
import webpack from 'webpack';
import webpack, {rspack} from 'webpack';
import {BundleAnalyzerPlugin} from 'webpack-bundle-analyzer';
import ReactLoadableSSRAddon from 'react-loadable-ssr-addon-v5-slorber';
import HtmlWebpackPlugin from 'html-webpack-plugin';
Expand Down Expand Up @@ -42,9 +42,11 @@ async function createBaseClientConfig({
runtimeChunk: true,
},
plugins: [
new webpack.DefinePlugin({
/*
new rspack.DefinePlugin({
'process.env.HYDRATE_CLIENT_ENTRY': JSON.stringify(hydrate),
}),
/*
new ChunkAssetPlugin(),
// Show compilation progress bar and build time.
Expand Down

0 comments on commit ca7fefc

Please sign in to comment.