Skip to content

v3.1.0 - New js presets

Compare
Choose a tag to compare
@Dan503 Dan503 released this 21 Aug 15:56
· 113 commits to master since this release

I've added the following presets in this release:

  • "es5_default_exports" = exports.$name = require('$path')
  • "es5_named_exports" = exports.$name = require('$path').$name
  • "es6_default_exports" = export { default as $name } from '$path'
  • "es6_named_exports" = export { $name } from '$path'

I've also moved the settings documentation into an index.d.ts file which in some gulp set ups will make the documentation available to you while editing your code.