webpack-cdn2local-plugin
v1.2.2
Published
> webpack plugin for download some remotes static resources to local.
Downloads
14
Readme
webpack plugin for download some remotes static resources to local.
HOW TO USE
INSTALL
npm install webpack-cdn2local-plugin -S
Quick Start
1. add 'cdn="JSZXtrue"' in the script you need to Pull down from remote CDN or other location
EXAMPLE:
- update your webpack.config.js in the production mode
EXAMPLE:
const Cdn2Local = require('webpack-cdn2local-plugin');
plugins:[
...,
new Cdn2Local()
]