Releases: webpack-contrib/exports-loader
Releases · webpack-contrib/exports-loader
v5.0.0
v4.0.0
v3.1.0
v3.0.0
v2.0.0
2.0.0 (2021-01-11)
⚠ BREAKING CHANGES
- minimum supported
webpack
version is5
(#58) (9176392) - inline syntax was changed:
[]
is no longer supported (i.e.exports-loader?exports[]=myVariable&exports[]=myFunction!./file.js
), please use,
(i.e.exports-loader?exports=myVariable,myFunction!./file.js
) - removed filename template support for export names and aliases (i.e.
[name]
) due unstable behaviour in some cases and very rarely used
v1.1.1
v1.1.0
v1.0.1
v1.0.0
1.0.0 (2020-06-10)
⚠ BREAKING CHANGES
- minimum supported Node.js version is
10.13
- minimum supported
webpack
version is4
exports
values moved to theexports
option, please read- generates ES module named exports by default (
exports { Foo }
) - multiple exports in the
inline
syntax were changed, please read
Features
- validate options
- support webpack 5
- implemented the
type
option (exports can be CommonsJS or ES module format) - exports can be described using a string or an object value
- implemented the ability to generate multiple experts
- improved support of
inline
usage
Bug Fixes
export
is not used anymore for CommonJS module format