Skip to content
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

Use id of last module in chunk as name base for auto-generated chunks #3025

Merged

Commits on Aug 3, 2019

  1. Copy the full SHA
    e3e7443 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2019

  1. Unified file emission api (#2999)

    * Use new FileEmitter for basic cases around assets. TODO: Replace asset
    hooks completely, create tests for assets using the new hooks.
    
    * Migrate assets to new file emitter
    
    * Remove assetsById from Graph
    
    * Implement emitFile for assets
    
    * Internally use EmittedFile in the file emitter
    
    * Deprecate emitAsset and ROLLUP_ASSET_URL
    
    * Deprecate getAssetFileName
    
    * Merge chunk emission into unified API and deprecated previous API
    
    * Allow emitting files with fixed names
    
    * Support unnamed assets
    
    * Improve chunk name assignment
    
    * Initial support for chunk file names
    
    * Allow specifying explicit file names for emitted chunks
    
    * Fix some TODOs
    
    * Test ids remain stable when the transform hook is cached and make test
    more stable
    
    * Refine error handling
    
    * Test some more errors
    
    * Refine file emission
    
    * Refactor file emitter to have a single code path for asset finalization
    
    * Deduplicated emitted assets without a specific file name
    
    * Only use the alias as name for a manual chunk if the chunk is not facade
    for an entry point
    
    * Generate separate facades for duplicate named user-defined entry points
    
    * Always create facades for explicit file names
    
    * Test edge cases
    
    * Test and refactor handling of dynamic relative imports
    
    * Use async-await in generate function, remove error condition
    
    * Improve and test pattern validation
    
    * Test file emitter edge cases
    
    * Improve plugin error handling
    
    * Add documentation
    lukastaegert committed Aug 5, 2019
    Copy the full SHA
    2443783 View commit details
    Browse the repository at this point in the history
  2. Switch to a code-splitting build and update dependencies (#3020)

    * Switch to a code-splitting build and update dependencies
    
    * Fix case where default exports were not properly deconflicted against
    chunk names
    lukastaegert committed Aug 5, 2019
    Copy the full SHA
    871bfa0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    dd0ed65 View commit details
    Browse the repository at this point in the history