
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
rollup-plugin-sourcemaps2
Advanced tools
Rollup plugin for grabbing source maps from sourceMappingURLs
Rollup plugin for loading files with existing source maps. Inspired by webpack/source-map-loader.
Works with rollup 4.x.x or later.
This is building on top of the awesome work of Max Davidson. The repo wasn't getting updates so I took it upon myself to keep a copy updated
If you use rollup-plugin-babel,
you might be able to use the inputSourceMap option instead of this plugin. Conversely, if you use this plugin alongside rollup-plugin-babel, you should explicitly set the Babel inputSourceMap option to false.
If this plugin is not resolving the sourcemap URL (particularly on MS Windows), try also including the official rollup plugin @rollup/plugin-url.
import sourcemaps from 'rollup-plugin-sourcemaps2';
export default {
input: 'src/index.js',
plugins: [sourcemaps()],
output: {
sourcemap: true,
file: 'dist/my-awesome-package.js',
},
};
FAQs
Rollup plugin for grabbing source maps from sourceMappingURLs
The npm package rollup-plugin-sourcemaps2 receives a total of 16,352 weekly downloads. As such, rollup-plugin-sourcemaps2 popularity was classified as popular.
We found that rollup-plugin-sourcemaps2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.