0.0.1 • Published 2 years ago

rollup-plugin-externals v0.0.1

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

rollup-plugin-externals

This is a Rollup plugin that provides functionality similar to webpack's externals.

Installation

pnpm i -D rollup-plugin-externals

Configuration

import { defineConfig } from "rollup";
import { externals } from "rollup-plugin-externals";

export default defineConfig({
    plugins:[
        externals({
            "react": "React",
            "react-dom": "ReactDOM",
        })
    ]
});
0.0.1

2 years ago

0.0.0

2 years ago

0.0.0-dev

2 years ago