- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 17
Rolldown-Vite #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Rolldown-Vite #84
Conversation
cf207d1    to
    382f440      
    Compare
  
    | commit:  | 
9ce2683    to
    a974a4a      
    Compare
  
    e056d58    to
    fa33494      
    Compare
  
    | `function(dep, importerUrl) { return new URL(dep, importerUrl).href }` | ||
| : // If the base isn't relative, then the deps are relative to the projects `outDir` and the base | ||
| // is appended inside __vitePreload too. | ||
| `function(dep) { return ${JSON.stringify(environment.config.base)}+dep }` | 
Check warning
Code scanning / CodeQL
Improper code sanitization
fa33494    to
    922ad2d      
    Compare
  
    | Found this PR in the Vite docs. Curious how stable  | 
51fd297    to
    3fc2ac5      
    Compare
  
    | 
 I'd say it would work for basic cases as it is passing most tests through out the ecosystem. | 
f7ba0d5    to
    486a056      
    Compare
  
    | 
 You can test it within minutes in your projects following this https://main.vite.dev/guide/rolldown#how-to-try-rolldown In my case (using roughly 10 Vite plugins) the main blocking point was  But damn, the build is blazing fast! | 
1d5030a    to
    24787ef      
    Compare
  
    
      
        
              This comment was marked as off-topic.
        
        
      
    
  This comment was marked as off-topic.
`treeshake.commonjs` is now enabled by default by rolldown
`output.minifyInternalExports` is now enabled by default by rolldown
4ca173c    to
    0c1eb9d      
    Compare
  
    0c1eb9d    to
    37a5392      
    Compare
  
    
Description
Current Status
additional features
resolve.tsconfigPathsoption to resolve with tsconfig paths #277)resolve.tsconfigPaths: trueis set, resolution respecting tsconfig paths is supportedexperimental.enableNativePluginto be set to'resolver'ortruetsconfig.jsonusesreferences/include/exclude, it won't work as expected.emitDecoratorMetadata: truesupport (feat: enable decorator-metadata transform automatically #315)emitDecoratorMetadata: true, rolldown-vite will enable that transform if it is enabled in tsconfig.jsonmoduleTypeis supported in hook filters (experimental)Intended behavior differences
esbuildneeds to be installed manually in the following cases:build.minify: 'esbuild'transformWithEsbuildfunctionbuild.targeterrors: esbuild selects the latest version of it, but that's probably not what you intenddefinedoes not share reference for objects oxc-project/oxc#7641build.rollupOptions.output.manualChunksis deprecated. please usebuild.rollupOptions.output.advancedChunksinstead when possible.structuredClone(bundle)errors withDataCloneError: #<Object> could not be cloned.. please clone it withstructuredClone({ ...bundle })(Build errors with "DataCloneError: #<Object> could not be cloned." usingrollup-plugin-webpack-stats#128)bundle[foo]ingenerateBundlehook is not supported. It is discouraged by Rollup as well.bundleobject reference is not shared across the hooks (manifest file not included in generateBundle hook bundle #410)browserfield andmodulefield, the non-native resolver checked both fields and picked the one that looks like an ESM file. this behavior is not implemented in the native resolver as it was confusing and only legacy packages have this problem.Known missing features
output.format: 'system'([Feature Request]: Support for System JS as output format rolldown/rolldown#2387)output.format: 'amd'([Rollup Compat]: Support for AMD as output.format rolldown/rolldown#2528)shouldTransformCachedModuleis not supported yet (Build watch mode remaining issues #149)resolveImportMetahook (SupportresolveImportMetahook rolldown/rolldown#1010)rolldown-viteplugins rolldown/rolldown#4973 for native plugin compat statusTODO list for me