FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
unfetch/rollup.config.js at master · InGo-LLP/unfetch · GitHub
InGo-LLP
unfetch
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
unfetch
/
rollup.config.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (19 loc) · 423 Bytes
Breadcrumbs
unfetch
/
rollup.config.js
Copy path
File metadata and controls
21 lines (19 loc) · 423 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import
buble
from
'rollup-plugin-buble'
;
import
replace
from
'rollup-plugin-post-replace'
;
let
{
FORMAT
}
=
process
.
env
;
export
default
{
useStrict
:
false
,
sourceMap
:
true
,
entry
:
'src/index.js'
,
plugins
:
[
buble
(
)
,
FORMAT
===
'cjs'
&&
replace
(
{
'module.exports = index;'
:
''
,
'var index ='
:
'module.exports ='
}
)
,
FORMAT
===
'umd'
&&
replace
(
{
'return index;'
:
''
,
'var index ='
:
'return'
}
)
]
}
;
Back
|
FazBrowse Home
|
New Git URL