nfour / serverless-build-plugin

A Node.js focused build plugin for serverless.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for custom transforms

nfour opened this issue · comments

commented

The ability to have custom transformers, separate to the default Uglify and Babel.

  • Add transformers by a filename pointer (like handlers) in the config
  • Refactor transformer logic to resolve above
  • Let transformers determine file extension matching via static props
  • Force transforms to manipulate files, not in-memory blobs, for performance
  • Uglify should produce an inline source map like Babel