New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rollup-plugin-externals

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-externals

externals plugin for rollup

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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",
        })
    ]
});

Keywords

rollup-plugin

FAQs

Package last updated on 26 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts