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