Jonghakseo / chrome-extension-boilerplate-react-vite

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

Refactor i18n #716

Open PatrykKuniczak opened 2 months ago

PatrykKuniczak commented 2 months ago

Is your feature request related to a problem? Please describe. Now files are created inside lib by builders, and only builders are editable, that's why i think that files are unnecessary as .ts

Describe the solution you'd like I was thinking about create it on fly. When user run script then that files will be created during build time but not as .ts but as .js inside dist, then we can call that files inside index.ts.

With this solution, we can remove several files, which are some kind of boilerplate, which can be placed directly inside dist and type.ts could be removed completely.

We can generate .ts files and bundle it, and then remove it. Or generate .js instantly, because the generator files are .ts and that's enough IMO

PatrykKuniczak commented 2 months ago

It will be done in other way in #711