Name: patchjs
Owner: Alibaba
Description: Patch.js is a incremental (character level) script loader for mobile web.
Created: 2018-05-21 06:33:12.0
Updated: 2018-05-24 08:49:30.0
Pushed: 2018-05-24 08:49:29.0
Homepage: https://patchjs.github.io/
Size: 12
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
https://patchjs.github.io/
https://github.com/patchjs
simple and easy to use API, like Labjs.
support localStorage / Web SQL Database / IndexedDB.
real time diff compute through nginx.
build diff compute through webpack.
ipt src="./patchjs-loader/2.0.0/websqldb.js"></script>
ipt src="./patchjs-loader/2.0.0/index.js"></script>
hjs.config({
th: 'http://static.domain.com/path/to/',
che: true,
crement: true,
rsion: '0.1.0'
oad('index.css').load('common.js').wait().load('index.js', function (url, fromCache) {
fromCache
tion /static/ {
patchjs on;
patchjs_max_file_size 1024;
PatchjsWebpackPlugin = require('patchjs-webpack-plugin');
le.exports = {
ugins: [
new PatchjsWebpackPlugin({
increment: true,
path: 'http://static.domain.com/path/to/'
})
Patch.js is MIT licensed.