Skip to content

Commit 8c098b6

Browse files
committed
fix: banner missing
1 parent 7a1b61f commit 8c098b6

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const fs = require('fs')
21
const path = require('path')
32
const rollup = require('rollup')
43
const babel = require('rollup-plugin-babel')
@@ -21,6 +20,7 @@ async function build (options, _outputOptions) {
2120
const outputOptions = {
2221
format: _outputOptions.format,
2322
exports: 'named',
23+
banner: banner,
2424
file: path.resolve(__dirname, _outputOptions.filename),
2525
name: 'VueLazyload'
2626
}

vue-lazyload.esm.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*!
2+
* Vue-Lazyload.js v1.3.4
3+
* (c) 2021 Awe <hilongjw@gmail.com>
4+
* Released under the MIT License.
5+
*/
6+
17
/*!
28
* is-primitive <https://github.com/jonschlinkert/is-primitive>
39
*

vue-lazyload.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)