Skip to content

megawac/rollup-lodash-es-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a test of the Emergency Broadcast System. Important information will follow this tone.

Just testing methods of using rollup to bundle a package leveraging lodash (caolan/async#914)

example-direct.js is an attempt at importing a lodash-es method directly (import map from 'lodash-es/collection/map') while example-main.js attempts to load it all and cherry pick a select method.

Results

  • example-main.js includes numerous unnessary dependencies and is poor at dead code removal (see dist/example-main). This is likely due to the structuring of lodash es's main file
  • example-direct.js is quite successful at cherry-picking the required code (see see dist/example-direct)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published