iNKORE-NET / Nodejs.RollupPlugins

A collection of some commonly used rollup plugins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A collection of some commonly used rollup plugins.

License:GNU Lesser General Public License v2.1


Languages

Language:TypeScript 100.0%