moduloze icon indicating copy to clipboard operation
moduloze copied to clipboard

TODOs

Open getify opened this issue 5 years ago • 0 comments

  • [ ] ESM: detect and combine multiple named imports (import { x } from ..)
  • [ ] ESM: detect and combine multiple named exports (export { x })
  • [ ] UMD: detect and combine multiple named exports ($module$exports.x = ..)
  • [ ] support (flag/config) outputting meta info for a UMD build, such as the order of dependencies (which would be used in the default bundle) in various formats, list of any un-referenced dependencies (that need to be proactively loaded), etc
  • [ ] support (flag/config) logging of unknown dependencies encountered during builds
  • [ ] audit all the binding/context values being produced in analysis to see if they're actually being used by the builds
  • [ ] change all error reporting to include the file/location info (with custom error), or include stack on exception
  • [ ] finish docs of other library features besides the build(..) method
  • [x] move the var _exp = {} from the top of a module to right before the first export (that uses it)
  • [x] fix bug #2
  • [x] fix bug #3
  • [x] change any inserted vars into lets

getify avatar Jul 12 '20 19:07 getify