Jonghakseo / chrome-extension-boilerplate-react-vite

Chrome Extension Boilerplate with React + Vite + Typescript
MIT License
2.43k stars 357 forks source link

feat/use ts for tw and postcss configs #665

Closed PatrykKuniczak closed 2 months ago

PatrykKuniczak commented 3 months ago

* Please fill in the required items.

Priority*

Purpose of the PR*

solved #527

I have done it because i want to be 'One Step Closer' (How knoows :)) To have full support to .ts

Changes*

I have changes .js to .ts and done neccessary changes to fit ts

How to check the feature

Edit some tw classes :)

Jonghakseo commented 2 months ago

I face this error

[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: /chrome-extension-boilerplate-react-vite/pages/popup): [SyntaxError] Unexpected token 'export'

스크린샷 2024-08-28 오후 5 29 03
PatrykKuniczak commented 2 months ago

I face this error

[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: /chrome-extension-boilerplate-react-vite/pages/popup): [SyntaxError] Unexpected token 'export'

스크린샷 2024-08-28 오후 5 29 03

Maybe that's issue with "module" in package.json, because i've rememberd it happened in one issue certainly on mac, but not on Win, i will take a look after work

PatrykKuniczak commented 2 months ago

@Jonghakseo this will be fixed by #683 merge it and rebase here, and try on your machine :)