Skip to content

SferaDev/rollup-plugin-import-cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-import-cdn

Import ESM modules from URL for local use and be processed by rollup, allowing to apply tree-shaking on non-local resources.

Code based from https://github.com/UpperCod/rollup-plugin-import-url

Install

npm install rollup-plugin-import-cdn

Usage

import { importCdn } from "rollup-plugin-import-cdn";

export default {
    plugins: [importCdn()],
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published