@visulima/packem
Version:
A fast and modern bundler for Node.js and TypeScript.
18 lines (17 loc) • 623 B
text/typescript
/**
* Modified copy of https://github.com/huozhi/rollup-preserve-directives/blob/main/src/index.ts
*
* The MIT License (MIT)
*
* Copyright (c) 2018 these people -> https://github.com/huozhi/rollup-preserve-directives/graphs/contributors
*/
import type { FilterPattern } from "@rollup/pluginutils";
import type { Pail } from "@visulima/pail";
import type { Plugin } from "rollup";
declare const preserveDirectives: ({ directiveRegex, exclude, include, logger, }: {
directiveRegex: RegExp;
exclude?: FilterPattern;
include?: FilterPattern;
logger: Pail;
}) => Plugin;
export default preserveDirectives;