chore: Linter changes
This commit is contained in:
parent
0f133e5cae
commit
5aeccb3644
1 changed files with 3 additions and 8 deletions
|
@ -12,23 +12,18 @@ const output = [
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: rollup.exports,
|
exports: rollup.exports,
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
if (typeof module !== 'undefined')
|
if (typeof module !== 'undefined')
|
||||||
output.push({
|
output.push({
|
||||||
banner,
|
banner,
|
||||||
file: module,
|
file: module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true
|
sourcemap: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
input: 'src/index.js',
|
input: 'src/index.js',
|
||||||
output,
|
output,
|
||||||
plugins: [
|
plugins: [peerDepsExternal(), resolve({ modulesOnly: true }), commonjs(), json()],
|
||||||
peerDepsExternal(),
|
|
||||||
resolve({ modulesOnly: true }),
|
|
||||||
commonjs(),
|
|
||||||
json(),
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue