You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: sourcemapPlugin uses NODE_ENV instead of Vite mode for nightly detection #280
When running vite build --mode nightly, Vite sets NODE_ENV=production (not nightly). This means nightly builds have their source maps post-processed in ../src/webview-ui/build instead of ../apps/vscode-nightly/build/webview-ui/build.
Fix
The plugin should accept the Vite mode via its config hook or as a parameter from the calling code, rather than reading NODE_ENV. For example:
Activity