Merge pull request #15151 from Budibase/chore/update-outdated-rollup-deps

Update outdated rollup deps
This commit is contained in:
Adria Navarro 2024-12-11 09:20:41 +01:00 committed by GitHub
commit 24a325a088
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 32 additions and 624 deletions

View File

@ -31,15 +31,13 @@
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "8.3.0",
"doctrine": "^3.0.0",
"jest": "29.7.0",
"marked": "^4.0.10",
"rollup": "^2.36.2",
"rollup-plugin-inject-process-env": "^1.3.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "29.1.1",
"typescript": "5.7.2"

View File

@ -1,12 +1,10 @@
import commonjs from "@rollup/plugin-commonjs"
import resolve from "rollup-plugin-node-resolve"
import resolve from "@rollup/plugin-node-resolve"
import json from "@rollup/plugin-json"
import { terser } from "rollup-plugin-terser"
import builtins from "rollup-plugin-node-builtins"
import globals from "rollup-plugin-node-globals"
import typescript from "@rollup/plugin-typescript"
import injectProcessEnv from "rollup-plugin-inject-process-env"
import polyfillNode from "rollup-plugin-polyfill-node"
import inject from "@rollup/plugin-inject"
import { terser } from "rollup-plugin-terser"
const production = !process.env.ROLLUP_WATCH
@ -27,18 +25,14 @@ const config = (input, outputFile, format) => ({
typescript({
moduleResolution: "node",
}),
polyfillNode(),
resolve({
preferBuiltins: true,
browser: true,
}),
commonjs(),
globals(),
inject({ Buffer: ["buffer", "Buffer"] }),
builtins(),
json(),
injectProcessEnv({
NO_JS: process.env.NO_JS,
}),
inject({ Buffer: ["buffer", "Buffer"] }),
production && terser(),
],
})
@ -46,5 +40,4 @@ const config = (input, outputFile, format) => ({
export default [
config("src/index.ts", "./dist/bundle.cjs", "cjs"),
config("src/index.ts", "./dist/bundle.mjs", "esm"),
config("src/iife.ts", "./dist/iife.mjs", "esm"),
]

633
yarn.lock

File diff suppressed because it is too large Load Diff