Skip to content

Latest commit

 

History

History
53 lines (47 loc) · 2.37 KB

TODO.md

File metadata and controls

53 lines (47 loc) · 2.37 KB

TODO

MVP

  • Preprocess: handle errors

  • Preprocess: handle all TODO items

  • Fastpack: cache file name account for absolute path to the entry point and all preprocessors

  • RegularPacker: handle json require

  • Documentation / Domain (1)

  • Configuration options in package.json (2?)

  • Use combinators for error output for nicer formatting? (2)

  • Fastpack: handle static files (2)

  • Fastpack: export URLs for static files (2)

  • Support external command execution for LESS/SASS/other processing

  • CSS support in import statements (webpack ICSS)? (2)

  • FastpackTranspiler: PrivateName, PrivateField

  • FastpackTranspiler: SpreadChild (2, in case we support something else than React)

  • Report execution time, number of modules & cache usage

  • --postprocess option

  • UI/UX (error reporting, config) [zindel] (1)

  • FastpackTranspiler: jsx [andeypopp]

  • FastpackTranspiler: flow - remove annotations [zindel]

  • FastpackTranspiler: class syntax, properties, decorators [zindel]

  • Fastpack: Verify printer correctness (use babel-generator) [zindel]

  • Fastpack: JavaScript runtime - add require statement [zindel]

  • FastpackTranspiler: export statements [zindel]

  • Fastpack: import statements handling

  • FastpackTranspiler: object spread, rest operators [zindel]

  • RegularPacker: incremental builds

  • RegularPacker / FlatPacker: __es6Module flag

  • FlatPacker: turn dynamic dependency into static if needed

  • FlatPacker: add runtime

  • RegularPacker: import expressions should be Promises

  • FlatPacker: Support 'development', 'production', 'test' modes

  • Fastpack: use temporary file when writing the bundle

  • --debug writes to stderr (1)

  • FlatPacker : --target [ app | esm | cjs ] for the last export statement

  • FlatPacker / RegularPacker: process.env.NODE_ENV is replaced with constant

  • FlatPacker / RegularPacker: set boolean __DEV__ global based on mode

  • RegularPacker: add better API for cache (will enable watch mode later on)

  • FastpackTranspiler: spread operator in try/catch clause

  • FastpackTranspiler: add runtime

  • FlatPacker / RegularPacker: builtin modules (just empty files are used atm)?

Heap

  • Source maps (2)
  • Think of integration with Flow
  • Implement rest operator for try/catch statements when flow parser suppots it