From 8c098b671f2eb871b66cf26b6d93f9ba5d20fe41 Mon Sep 17 00:00:00 2001 From: awe Date: Fri, 19 Feb 2021 18:14:33 +0800 Subject: [PATCH] fix: banner missing --- build.js | 2 +- vue-lazyload.esm.js | 6 ++++++ vue-lazyload.js | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/build.js b/build.js index 73b79ef..c26074d 100644 --- a/build.js +++ b/build.js @@ -1,4 +1,3 @@ -const fs = require('fs') const path = require('path') const rollup = require('rollup') const babel = require('rollup-plugin-babel') @@ -21,6 +20,7 @@ async function build (options, _outputOptions) { const outputOptions = { format: _outputOptions.format, exports: 'named', + banner: banner, file: path.resolve(__dirname, _outputOptions.filename), name: 'VueLazyload' } diff --git a/vue-lazyload.esm.js b/vue-lazyload.esm.js index 60c2631..b661b19 100644 --- a/vue-lazyload.esm.js +++ b/vue-lazyload.esm.js @@ -1,3 +1,9 @@ +/*! + * Vue-Lazyload.js v1.3.4 + * (c) 2021 Awe + * Released under the MIT License. + */ + /*! * is-primitive * diff --git a/vue-lazyload.js b/vue-lazyload.js index f1a4894..2d999a5 100644 --- a/vue-lazyload.js +++ b/vue-lazyload.js @@ -1,3 +1,8 @@ +/*! + * Vue-Lazyload.js v1.3.4 + * (c) 2021 Awe + * Released under the MIT License. + */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).VueLazyload={})}(this,(function(t){"use strict"; /*! * is-primitive