marocchino-sticky-pull-requ.../rollup.config.ts
dependabot[bot] 3868baa51f
build(deps-dev): Bump typescript from 5.9.3 to 6.0.2 (#1670)
* build(deps-dev): Bump typescript from 5.9.3 to 6.0.2

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* 🔧 Update config

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: marocchino <marocchino@users.noreply.github.com>
2026-04-05 16:39:29 +09:00

19 lines
469 B
TypeScript

// See: https://rollupjs.org/introduction/
import commonjs from "@rollup/plugin-commonjs"
import nodeResolve from "@rollup/plugin-node-resolve"
import typescript from "@rollup/plugin-typescript"
const config = {
context: "globalThis",
input: "src/main.ts",
output: {
exports: "auto",
file: "dist/index.js",
format: "cjs",
sourcemap: true,
},
plugins: [typescript(), nodeResolve({preferBuiltins: true}), commonjs()],
}
export default config