13 строки
298 B
JavaScript
13 строки
298 B
JavaScript
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
import pkg from "./package.json";
|
|
|
|
export default {
|
|
input: "./src/polyfill.js",
|
|
external: Object.keys(pkg.dependencies || {}),
|
|
output: {
|
|
file: "dist/sanitizer-polyfill.mjs",
|
|
format: "esm",
|
|
},
|
|
plugins: [nodeResolve()],
|
|
};
|