From 76e9a0d696112578bfba98f02e17b8ec6500a5d0 Mon Sep 17 00:00:00 2001 From: tubingbing Date: Fri, 6 Aug 2021 15:14:28 +0800 Subject: [PATCH] docs: code opt --- README.md | 2 +- package.json | 2 +- public/cdn-test.html | 8 ++++---- webpack.common.js | 44 ++++++++++++++++++++++++++++++++++++++++ webpack.dev.js | 43 ++------------------------------------- webpack.preview.js | 45 ++--------------------------------------- webpack.pro.js | 45 ++--------------------------------------- webpack.pro.script.js | 47 ++----------------------------------------- 8 files changed, 58 insertions(+), 178 deletions(-) create mode 100644 webpack.common.js diff --git a/README.md b/README.md index 3bcd323..4938050 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ npm i h5-imageviewer Or get it from CDN: -[https://unpkg.com/h5-imageviewer@0.7.5/umd/h5-imageviewer.js](https://unpkg.com/h5-imageviewer@0.7.5/umd/h5-imageviewer.js) +[https://unpkg.com/h5-imageviewer@0.7.7/umd/h5-imageviewer.js](https://unpkg.com/h5-imageviewer@0.7.7/umd/h5-imageviewer.js) # Usage Show single image viewer diff --git a/package.json b/package.json index d8f2117..0284ffd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "h5-imageviewer", - "version": "0.7.5", + "version": "0.7.7", "description": "Image viewer for mobile browser, supported React/Vue/AngularJS.", "main": "bundle.js", "files": [ diff --git a/public/cdn-test.html b/public/cdn-test.html index caf3000..d7a35da 100644 --- a/public/cdn-test.html +++ b/public/cdn-test.html @@ -5,14 +5,14 @@ H5 mobile image viewer - +