@gordonmleigh/rollup-plugin-sourcemaps
v0.1.2
Published
A Rollup plugin to load sourcemaps for input files
Downloads
23
Maintainers
Readme
@gordonmleigh/rollup-plugin-sourcemaps
A replacement for rollup-plugin-sourcemaps which isn't maintained anymore.
import sourcemaps from "@gordonmleigh/rollup-plugin-sourcemaps";
export default {
input: "lib/index.js",
output: {
file: "dist/index.mjs",
// this is required to _output_ sourcemaps
sourcemap: true,
},
plugins: [
// as easy as that. Doesn't require (or support) any options
sourcemaps(),
],
};