A collection of some commonly used rollup plugins.
Give us a star if you like this!
-
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
-
Install package from npm.
[NPM] npm i @inkore/rollup-plugins -D [PNPM] pnpm add @inkore/rollup-plugins -D
-
Add the plugins to your rollup.config file.
import { preserveDirectives, ... } from "@inkore/rollup-plugins"; export default { output: { preserveModules: true, }, plugins: [ preserveDirectives(), ... ], };
-
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