0.8.2 • Published 1 year ago

@medly/rollup-config v0.8.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Rollup Config

What is rollup.js?

Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.

About

Recommended Rollup configurations to give next-generation bundling powers to your react web applications.

Shared Rollup config

Install

yarn add -D @medly/rollup-config

Usage

1. Use default settings

Add below code in your package.json

{
 "script": {
  "dist": "rollup --config node_modules/@medly/rollup-config/index.js"
 }
}

2. Overwrite default settings

Add rollup.config.js file at root level with below code

const { configure } = require('@medly/rollup-config');

module.exports = configure({
 input = ["./src/index.ts"]
});

Add below code in your package.json

{
 "script": {
  "dist": "rollup --config rollup.config.js"
 }
}

Note: Add tsconfig.json file at the root level to emit type declaration files.

Default config

To view the default config click here

0.7.6

1 year ago

0.7.5

1 year ago

0.7.7

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.8.2

1 year ago

0.7.4

3 years ago

0.7.3

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago