@wyw-in-js/rollup
v0.5.5
Published
The package contains WyW-in-JS plugin for [Rollup](https://rollupjs.org/).
Downloads
6,345
Readme
@wyw-in-js/rollup
The package contains WyW-in-JS plugin for Rollup.
Installation
# npm
npm i -D @wyw-in-js/rollup
# yarn
yarn add --dev @wyw-in-js/rollup
# pnpm
pnpm add -D @wyw-in-js/rollup
Usage
After installation, add the plugin to your rollup.config.js
:
import wyw from '@wyw-in-js/rollup';
export default {
plugins: [
wyw({
sourceMap: process.env.NODE_ENV !== 'production',
}),
],
};
To get details about supported options by the plugin, please check documentation.