hybrid-local-source
v1.0.3
Published
create zip
Downloads
1
Readme
hybrid-local-plugin
{
"packageId": "loading",
"items": [
{
"packageId": "meeting",
"version": 1,
"remoteUrl": "xxx/loading.png",
"path": "js/app.js",
"mimeType": "application/javascript"
}
]
}
```bash
npm install hybrid-local-plugin -D
or
yarn add hybrid-local-plugin -D
Via webpack.config.js
or any other webpack config file.
{
plugins: [
new HybridWebpackPlugin({
packageNameKey: 'id',
packageNameValue: 'loading',
version: 1,
baseUrl: 'https:xxx/xxx/',
fileTypes: ['html', 'js', 'css', 'png', 'jpg']
})
];
}