idb-bridge: we don't use rollup anymore

This commit is contained in:
Florian Dold 2022-10-23 19:07:03 +02:00
parent d87f3c242c
commit 1bf95ef568
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1,31 +0,0 @@
// rollup.config.js
import commonjs from "@rollup/plugin-commonjs";
import nodeResolve from "@rollup/plugin-node-resolve";
import json from "@rollup/plugin-json";
import builtins from "builtin-modules";
import pkg from "./package.json";
export default {
input: "lib/index.js",
output: {
file: pkg.main,
format: "cjs",
sourcemap: true
},
external: builtins,
plugins: [
nodeResolve({
preferBuiltins: true,
}),
commonjs({
include: [/node_modules/],
extensions: [".js", ".ts"],
ignoreGlobal: false,
sourceMap: false,
}),
json(),
],
}