Skip to content

Releases: webpack-contrib/imports-loader

v1.0.0

17 Jun 17:16
Compare
Choose a tag to compare

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';

v0.8.0

20 Feb 19:25
Compare
Choose a tag to compare

2018-02-20

Features

  • allow loading nested objects onto existing libraries (#45) (44d6f48)

Release v0.7.1

25 Feb 05:46
Compare
Choose a tag to compare

0.7.1 (2017-02-24)

Bug Fixes

  • package: fix loader util deprecation warning (#41) (7129a27)

v0.7.0

07 Dec 23:17
Compare
Choose a tag to compare
  • Add support for dot notation in variable names, e.g. imports-loader?window.jQuery=jquery (#30).