Documentation for Simbo's Packages
    Preparing search index...

    Module @simbo/rollup-github-actions-config - v3.0.1

    Rollup GitHub Actions Config

    📦 @simbo/rollup-github-actions-config

    A rollup configuration for building GitHub Actions written in TypeScript/ESM.

    Requires Node.js ^24.15.0 || >=26.0.0.

    Install @simbo/rollup-github-actions-config from the npm registry:

    npm i -D rollup typescript @simbo/rollup-github-actions-config
    

    Create a rollup.config.js file in your project root:

    import { getConfig } from '@simbo/rollup-github-actions-config';

    export default getConfig();

    In your package.json, add a build script:

        "build": "rollup -c"
    

    The bundle in dist has no source maps and no declaration files. The configuration passes sourceMap: false, inlineSources: false and declaration: false to the TypeScript plugin, so your tsconfig.build.json does not need to disable them, even if it extends @simbo/tsconfig.

    For a complete API reference, see the documentation.

    MIT © Simon Lepel

    RollupGithubActionsConfigOptions
    getConfig