-
-
Notifications
You must be signed in to change notification settings - Fork 454
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Using Typescript's import attributes leads to build errors in Plasmo.
With Typescript 5.3, import attributes have been introduced: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-3.html
π£ Plasmo v0.86.3
π΄ The Browser Extension Framework
π΅ INFO | Starting the extension development server...
π΅ INFO | Loaded environment variables from: [ '.env.chrome', '.env' ]
π΄ ERROR | Build failed. To debug, run plasmo dev --verbose.
π΄ ERROR | Expected ';', got 'with'
or with plasmo dev --verbose
π΅ INFO | Loaded environment variables from: [ '.env.chrome', '.env' ]
π‘ 0 | @plasmohq/parcel-transformer-manifest
π‘ 1 | Adding tab onboarding.tsx
π‘ 2 | Adding icons
π‘ 3 | Adding default_icon
π‘ 4 | Adding default_popup
π‘ 5 | Handling MV3 background service worker
π‘ 6 | + Finished transforming manifest
π΄ ERROR | Expected ';', got 'with'
π‘ 30 | ...\src\lib\handlers\mappinghandler.ts:1:45
with the corresponding line mappinghandler.ts:1:45:
import buffIds from '@/assets/buffids.json' with { type: "json" };
My package.json uses "typescript": "5.4.5".
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
No response
Relevant log output
No response
(OPTIONAL) Contribution
- I would like to fix this BUG via a PR
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate problems.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working