Ephem / rollup-plugin-preserve-directives

A Rollup plugin to preserve directives like "use client" when preserveModules is true
MIT License
64 stars 8 forks source link

Exposed type `PreserveDirectivesOptions` #23

Closed 1aron closed 6 months ago

1aron commented 6 months ago
import { PreserveDirectivesOptions } from 'rollup-plugin-preserve-directives'

const preserveDirectivesOptions: PreserveDirectivesOptions = {}
Ephem commented 6 months ago

Thanks a lot, makes total sense to export that! I'll merge now and let this be included whenever I make the next release (which might take a while depending on what comes up).

1aron commented 6 months ago

@Ephem Thanks for your help! Btw, your plugin source code is quite standard 😍