UNPKG
yagni-dom
Version:
latest (0.0.1)
0.0.1
Yet another functional library (DOM API related)
github.com/ysegorov/yagni-dom
ysegorov/yagni-dom
yagni-dom
/
rollup.config.js
17 lines
(14 loc)
•
288 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import
pkg
from
'./package.json'
;
import
eslint
from
'rollup-plugin-eslint'
;
export
default
[ {
input
:
'src/main.js'
,
output
: [ {
file
: pkg.
main
,
format
:
'cjs'
}, {
file
: pkg.
module
,
format
:
'es'
} ],
plugins
: [
eslint
({
throwOnError
:
true
}) ] } ];