[Idea/v9] Use Vite instead of Webpack
Discussed in https://github.com/idiotWu/smooth-scrollbar/discussions/401
Originally posted by sadeghbarati November 1, 2021 Vite is growing so fast, documentation and API is easy to understand, also have the easy configuration
Unlike Webpack documentation and API are difficult to understand
Compiled js with Webpack have unnecessary code or unwanted polyfills
You can use - https://github.com/unjs/unplugin - to cover both with one codebase if needed. A alot of usefull tools in https://github.com/unjs
Hope it helps :)
Thanks for ur idea,
Yeah, When I used unbuild, I tried to change the proposal I had given
Best option, for now, is unbuild or rollup or tsup
all of these tools are great, with vite, you can put the other configuration files inside the Vite config file itself like vitest ( which is for unit-testing but it's can be configured for e2e with other tools like playwright, cypress and others )
support vite +1