Skip to content

iNKORE-NET/Rollup.Plugins

Repository files navigation

iNKORE Logo

A collection of some commonly used rollup plugins.

iNKORE.Rollup.Plugins

Give us a star if you like this!

Release Downloads GitHub Repo Size Last Commit Issues Latest Version Release Date Commit Activity NPM latest version NPM download conut

Forks Stars Watches Discussions Discord NotYoojun's Twitter


✨ Intergrated

  • preserve-directives: A Rollup plugin to preserve directives like "use client" when preserveModules is true.

  • plugin-obfuscator:The most powerful rollup plugin for javascript-obfuscator.

  • plugin-clear: This plugin can help you to clear the specific directories when the rollup bundle your resource.

  • plugin-exec: Execute some code when the bundle you are building is finished.

executeScript

🤔 Quick Start

  1. Install package from npm.

    [NPM] npm i @inkore/rollup-plugins -D
    [PNPM] pnpm add @inkore/rollup-plugins -D
    
  2. Add the plugins to your rollup.config file.

    import { preserveDirectives, ... } from "@inkore/rollup-plugins";
    
    export default
    {
        output:
        {
            preserveModules: true,
        },
        plugins: [ preserveDirectives(), ... ],
    };

🙋🏻‍♂️ Contribution

  • Want to contribute? The team encourages community feedback and contributions.

  • If the project is not working properly, please file a report. We welcome any issues and pull requests submitted on GitHub.

  • Sponsor us at https://inkore.net/about/members/notyoojun#sponsor