@oakfinch/rollup-config
v2.0.19
Published
Shared base rollup config for @oakfinch projects
Downloads
8
Readme
rollup-config
Shared base rollup config for @oakfinch projects
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.