Skip to content

Commit cd183d8

Browse files
committed
fix:warn
1 parent 386b28c commit cd183d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rollup.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function createMultiInput() {
202202
const _path = resolve('src')
203203
const rootFolderFiles = fs.readdirSync(_path)
204204
let files = [];
205-
rootFolderFiles.forEach(function (item, index) {
205+
rootFolderFiles.forEach(function (item) {
206206
let fPath = path.join(_path, item);
207207
let stat = fs.statSync(fPath);
208208
let ext = path.extname(fPath)
@@ -219,7 +219,7 @@ function createConfig(format, output, plugins = []) {
219219
let entryFile = `src/index.js`
220220
const _plugins = createRollupPlugins(plugins, format);
221221
const _globals = ExtendGlobal ? Object.assign({}, {vue: 'Vue'}, ExtendGlobal) : {vue: 'Vue'};
222-
let _input = ''
222+
let _input
223223
let _output = {
224224
banner: createBanner(_banner, pkg)
225225
}

0 commit comments

Comments
 (0)