1.1.0 • Published 3 years ago

define-rollup-config v1.1.0

Weekly downloads
90
License
MIT
Repository
github
Last release
3 years ago

Why

Although Rollup has good support for TypeScript,

But rollup.config files usually export a plain object.

So the purpose of this package is to make it easier to write rollup.config files.

Install

# npm
npm install define-rollup-config -D
# yarn
yarn add define-rollup-config -D

Usage

// rollup.config.js
import defineRollupConfig from "define-rollup-config";

export default defineRollupConfig({
    // there will be intelligent prompts
    input: "index.js",
});
1.1.0

3 years ago

1.0.0

3 years ago