wing-banner-rollup-plugin
v0.0.22
Published
wing banner rollup plugin
Downloads
2
Readme
wing-banner-rollup-plugin
wing banner rollup plugin
Install
- yarn
$ yarn add --dev wing-banner-rollup-plugin
- npm
$ npm install --save-dev wing-banner-rollup-plugin
Usage
// rollup.config.js
import wingBannerRollupPlugin from "wing-banner-rollup-plugin";
export default {
// ... other configs
plugins: [
// ...other plugins
wingBannerRollupPlugin(options), // you can get api options below
],
};
API
wingBannerRollupPlugin(OPTIONS<undefined||null||string||object>);
// wingBannerRollupPlugin(),
// wingBannerRollupPlugin(null),
// wingBannerRollupPlugin(content),
// wingBannerRollupPlugin({}),
// wingBannerRollupPlugin({ content }),
// wingBannerRollupPlugin({ path: path.join(__dirname, "content.txt") }),
// wingBannerRollupPlugin({ content, path: path.join(__dirname, "content.txt") }),
// wingBannerRollupPlugin({ others: "xxxxx" }),
// wingBannerRollupPlugin({ content, others: "xxxxx" })
Examples
see examples