2.0.19 • Published 2 years ago

@oakfinch/rollup-config v2.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

rollup-config

Shared base rollup config for @oakfinch projects


license TypeScript

latest release on npm latest release on github


github


Installation

Using npm:

npm install --save-dev @oakfinch/rollup-config

Using yarn:

yarn add -D @oakfinch/rollup-config

Usage

rollup.config.js

import { configs } from '@oakfinch/rollup-config'

export default configs

For libraries, CommonJS and ES modules will be created in dist/cjs and dist/es.

An application bundle will be built in dist/bundle/app.js (and dist/bundle/app.min.js) if your project has a file named src/app.js (or src/app.ts) with that file being used as the entrypoint.