diff --git a/packages/webpack-plugin/src/index.ts b/packages/webpack-plugin/src/index.ts index 0c55dfb44..234af9b39 100644 --- a/packages/webpack-plugin/src/index.ts +++ b/packages/webpack-plugin/src/index.ts @@ -15,7 +15,7 @@ export type PackageJson = { devDependencies?: Record; }; -class QiankunPlugin { +export class QiankunPlugin { private packageName: string; private entrySrcPattern: RegExp | null; // 用户提供的正则表达式 @@ -106,5 +106,3 @@ class QiankunPlugin { return $.html(); } } -// module.exports = QiankunPlugin; -export { QiankunPlugin };