v1.0.0
·
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
webpackversion is4 inlinesyntax was changed, please read- list of imported modules moved to the
importsoption, please read - wrapper moved to the
wrapperoption, please read - custom variables moved to the
additionalCodeoption, please read - generates ES module default import by default (
import Foo from 'foo';)
Features
- validate options
- support webpack 5
- implemented the
typeoption (imports can be CommonsJS or ES module format) - implemented the ability to generate multiple import in CommonJS or ES module format
- improved support of
inlineusage - allowed to adding arguments for wrapper
- allowed to inject any custom code
Bug Fixes
- do not crash on invalid inline syntax
- respect
'use strict';