Skip to content

Releases: webpack-contrib/expose-loader

v5.0.0

17 Jan 15:40
Compare
Choose a tag to compare

5.0.0 (2024-01-17)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 18.12.0 (#225) (1eb4039)

v4.1.0

09 Mar 20:53
Compare
Choose a tag to compare

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.1.0 (2023-03-09)

Features

  • added globalObject option to modify global context (#205) (1ad9096)

v4.0.0

17 May 15:54
Compare
Choose a tag to compare

4.0.0 (2022-05-17)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 14.15.0

v3.1.0

21 Oct 14:09
Compare
Choose a tag to compare

Features

Bug Fixes

v3.0.0

20 May 12:58
Compare
Choose a tag to compare

3.0.0 (2021-05-20)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 12.13.0

v2.0.0

02 Feb 12:45
Compare
Choose a tag to compare

2.0.0 (2021-02-02)

⚠ BREAKING CHANGES

  • minimum supported webpack version is 5
  • inline syntax was changed: [] is no longer supported (i.e. import $ from "expose-loader?exposes[]=$&exposes[]=jQuery!jquery), please use , comma separator (i.e. import $ from "expose-loader?exposes=$,jQuery!jquery)

v1.0.3

26 Nov 14:11
Compare
Choose a tag to compare

1.0.3 (2020-11-26)

Bug Fixes

v1.0.2

25 Nov 14:54
Compare
Choose a tag to compare

1.0.2 (2020-11-25)

Bug Fixes

  • don't strip loader "ref" from import string (6271fc4)

v1.0.1

09 Oct 18:39
Compare
Choose a tag to compare

1.0.1 (2020-10-09)

Chore

  • update schema-utils

v1.0.0

24 Jun 02:05
367c0e1
Compare
Choose a tag to compare

1.0.0 (2020-06-23)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 10.13
  • minimum supported webpack version is 4
  • inline syntax was changed, please read
  • list of exposed values moved to the exposes option, please read
  • migrate away from pitch phase
  • do not override existing exposed values in the global object by default, because it is unsafe, please read

Features

  • validate options
  • support webpack 5
  • support multiple exposed values
  • interpolate exposed values
  • allow to expose part of a module
  • allow to expose values with . (dot) in the name

Fixes

  • do not break source maps
  • do not generate different hashed on different os
  • compatibility with ES module syntax