Packages

@ampproject/remapping

2.3.0 · 1 Mar 2024Apache-2.033.5M / weekRepositoryHomepagenpmAtom feed

Your version

2.1.0

7 Feb 2022Where it was published

2.3.0 is the newest release of 2.x.

In short

3 changed

Release note

The loader API now provides a new LoadingContext object, which provides new features:

  • importer provides the resolved path of the parent sourcemap.

  • source allows the loader to change the resolved location of the transformed sourcemap or original source file.

  • content allows override the parent sourcemap's sourcesContent field for an original source file.

See github.com/ampproject/remapping for more information.