rollup-plugin-externals
v0.0.1
Published
externals plugin for rollup
Downloads
31
Readme
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",
})
]
});