翠
翠
I followed the reproduction steps but I wasn't able to reproduce either on stackblitz or on Windows. It output `Encrypted text` without any errors.
Yeah, I was using `localhost`. This time I tried with other addresses, but it worked as well.
- With `vite-plugin-dts` and `rollup-plugin-sourcemaps`: happens - With `vite-plugin-dts` and without `rollup-plugin-sourcemaps`: doesn't happen - Without `vite-plugin-dts` and with`rollup-plugin-sourcemaps`: watch mode broken (due to rollup-plugin-sourcemaps incompatible with the rollup 4.0.0+)...
The link now seems to be fixed.
I guess you can configure it like: ```js import { defineConfig } from 'vite' export default defineConfig({ resolve: { '@/router': IS_ADMIN ? 'router_admin' : 'router_user', '@/navbar': IS_ADMIN ? 'navbar_admin' :...
Ah, I missed that sentence. > if handled by vite it could split my bundle in three automatically without thinking about it: Do you mean you want to share chunks...
> So I have to write this code snippet for each selection ? ... Maybe I could do a super user.jsx that load all user specific file Yes, unless you...
A single rollup build creates a single module graph. What you are trying to build has two module graphs (one for user, one for admin). So you'll need to build...
This is not a bug. `foo.bar` is not a valid name for export. ```js export const foo.bar = '' // this is not a valid js syntax ``` If we...
Closing as the link is fixed.