Skip to content

Commit f229cea

Browse files
committed
fix(plugin-pwa): fix import typos
1 parent 02432ab commit f229cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/pwa/plugin-pwa/src/node/prepareClientConfigFile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { PwaInstall as _PwaInstall } from "${path.join(__dirname, '../client/com
2424

2525
if (options.update === 'hint') {
2626
configImport += options.foundComponent
27-
? `import PwaFoundPopup as _PwaFoundPopup from "${options.foundComponent}";
27+
? `import _PwaFoundPopup from "${options.foundComponent}";
2828
`
2929
: `\
3030
import { PwaFoundPopup as _PwaFoundPopup } from "${path.join(
@@ -36,7 +36,7 @@ import { PwaFoundPopup as _PwaFoundPopup } from "${path.join(
3636
rootComponents.push('PwaFoundPopup')
3737
} else if (options.update !== 'disable' && options.update !== 'force') {
3838
configImport += options.readyComponent
39-
? `import PwaReadyPopup as _PwaReadyPopup from "${options.readyComponent}";
39+
? `import _PwaReadyPopup from "${options.readyComponent}";
4040
`
4141
: `\
4242
import { PwaReadyPopup as _PwaReadyPopup } from "${path.join(

0 commit comments

Comments
 (0)