diff --git a/packages/docusaurus-types/src/bundler.d.ts b/packages/docusaurus-types/src/bundler.d.ts index ec12682483c1..437ccf4d3e3a 100644 --- a/packages/docusaurus-types/src/bundler.d.ts +++ b/packages/docusaurus-types/src/bundler.d.ts @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -import type webpack from 'webpack'; +import type * as webpack from 'webpack'; // We use Webpack and Rspack interchangeably because most Rspack APIs are // compatible with Webpack. So it's ok to use Webpack types for Rspack too.