1.0.10 • Published 3 years ago

babel-plugin-cdn-import v1.0.10

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

Build Coverage Status

Install

yarn add -D babel-plugin-cdn-import

or

npm i -D babel-plugin-cdn-import

Usage

Please check the example of this repo.

Options

cdn

The host url of the cdn provider, for example https://cdnjs.com, https://unpkg.com, https://skypack.dev

webpackIgnore

if build application with webpack, set webpackIgnore to true;

fallback

If fallback is set, will try to load resources from cdn, then fallback

matches

Only matched package will transpile to use CDN resources.

1.0.9

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago