Skip to content

v1.0.0

Choose a tag to compare

@alexander-akait alexander-akait released this 17 Jun 17:16
· 126 commits to master since this release

1.0.0 (2020-06-17)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 10.13
  • minimum supported webpack version is 4
  • inline syntax was changed, please read
  • list of imported modules moved to the imports option, please read
  • wrapper moved to the wrapper option, please read
  • custom variables moved to the additionalCode option, please read
  • generates ES module default import by default (import Foo from 'foo';)

Features

  • validate options
  • support webpack 5
  • implemented the type option (imports can be CommonsJS or ES module format)
  • implemented the ability to generate multiple import in CommonJS or ES module format
  • improved support of inline usage
  • allowed to adding arguments for wrapper
  • allowed to inject any custom code

Bug Fixes

  • do not crash on invalid inline syntax
  • respect 'use strict';