magicast
magicast copied to clipboard
`useSemi: false` in format options ignored on imports
Environment
------------------------------
- Operating System: Windows_NT
- Node Version: v20.10.0
- Package Manager: [email protected]
------------------------------
Reproduction
https://github.com/vite-pwa/create-pwa :
pnpm install && nr buildcd examples && node ../index.js- follow the prompts (options doesn't matter) then open vite config file inside created folder
Describe the bug
useSemi: false shouldn't add imports with ;:
- https://github.com/vite-pwa/create-pwa/blob/main/src/vite.ts
- https://github.com/vite-pwa/create-pwa/blob/main/src/customize/vanilla.ts#L107
Generates import { VitePWA } from 'vite-plugin-pwa';
Additional context
No response
Logs
No response