1.0.3 • Published 2 years ago

hybrid-local-source v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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']
    })
  ];
}
1.0.3

2 years ago

1.0.2

2 years ago