2.0.19 • Published 4 years ago
@oakfinch/rollup-config v2.0.19
rollup-config
Shared base rollup config for @oakfinch projects
Installation
Using npm:
npm install --save-dev @oakfinch/rollup-configUsing yarn:
yarn add -D @oakfinch/rollup-configUsage
rollup.config.js
import { configs } from '@oakfinch/rollup-config'
export default configsFor 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.