![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
split-source-webpack-plugin
Advanced tools
This is a webpack plugin which is also based on html-webpack-plugin. It is used to split lib code from your project. The difference between this plugin and dll is that dll will bundle the lib code to one js
file (This file will also be very big sometime), and this plugin can split lib code to different script
tag. This plugin can save project users' time on production environment.
npm install split-source-webpack-plugin --save-dev
var HTMLWebpackPlugin = require('html-webpack-plugin')
var SplitSourceWebpackPlugin = require('split-source-webpack-plugin')
module.exports = {
...
plugins: [
new HTMLWebpackPlugin(),
new SplitSourceWebpackPlugin([
{
libName: 'xx',
globalName: 'yy',
url: 'http://www.host.com/lib/name/${version}'
}
])
]
}
Name | Type | Default | Description |
---|---|---|---|
libName | {String} | '' | The name of library which is used in project. For example, if Vue is required in project: var Vue = require('vue') , then libName should be set as vue |
globalName | {String} | '' | The name of library under global environment. For example, if Vue is required in project: var Vue = require('vue') , then globalName should be set as Vue |
url | {String} | '' | The source address of library. It can be local address or CDN address. Also, you can use ${version} to tell the plugin to extract version info in package.json automatically |
0.1.1 (2019-11-03)
FAQs
webpack plugin for split lib from project
The npm package split-source-webpack-plugin receives a total of 1 weekly downloads. As such, split-source-webpack-plugin popularity was classified as not popular.
We found that split-source-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.