Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
rollup-plugin-sourcemaps
Advanced tools
Rollup plugin for grabbing source maps from sourceMappingsURLs
The rollup-plugin-sourcemaps package is a Rollup plugin that allows you to include existing source maps in your build process. This is particularly useful when you are working with libraries that already have source maps, and you want to preserve them in your final bundle.
Include existing source maps
This feature allows you to include existing source maps in your Rollup build. By using the sourcemaps() plugin, Rollup will read the source maps from your input files and include them in the final bundle.
{"plugins":["sourcemaps()"]}
Generate source maps for transformed code
This feature allows you to generate source maps for the transformed code. By setting the sourcemap option to true in the output configuration and using the sourcemaps() plugin, Rollup will generate source maps for the final bundle.
{"input":"src/main.js","output":{"file":"bundle.js","format":"cjs","sourcemap":true},"plugins":["sourcemaps()"]}
The rollup-plugin-terser package is a Rollup plugin that minifies your code using Terser. While it does not directly handle source maps, it can work in conjunction with rollup-plugin-sourcemaps to minify code while preserving source maps.
The rollup-plugin-babel package is a Rollup plugin that allows you to use Babel to transpile your code. It can generate source maps for the transformed code, similar to rollup-plugin-sourcemaps, but it focuses on code transformation rather than source map inclusion.
The rollup-plugin-typescript2 package is a Rollup plugin that integrates TypeScript with Rollup. It can generate source maps for TypeScript code, similar to rollup-plugin-sourcemaps, but it is specifically designed for TypeScript projects.
Rollup plugin for grabbing source maps from sourceMappingURLs.
Useful for working with precompiled modules with existing source maps, without resorting to sorcery.
Inspired by webpack/source-map-loader.
0.1.0
FAQs
Rollup plugin for grabbing source maps from sourceMappingURLs
The npm package rollup-plugin-sourcemaps receives a total of 252,476 weekly downloads. As such, rollup-plugin-sourcemaps popularity was classified as popular.
We found that rollup-plugin-sourcemaps demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.