FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScriptSDK/rollup.config.js at main · TelemetryDeck/JavaScriptSDK · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
TelemetryDeck
/
JavaScriptSDK
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
14
Code
Issues
3
Pull requests
2
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScriptSDK
/
rollup.config.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
34 lines (31 loc) · 619 Bytes
Breadcrumbs
JavaScriptSDK
/
rollup.config.js
Copy path
File metadata and controls
34 lines (31 loc) · 619 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
22
23
24
25
26
27
28
29
30
31
32
33
34
import
replace
from
'@rollup/plugin-replace'
;
import
fs
from
'node:fs'
;
const
package_
=
JSON
.
parse
(
fs
.
readFileSync
(
'./package.json'
)
)
;
const
plugins
=
[
replace
(
{
values
:
{
__PACKAGE_VERSION__
:
package_
.
version
,
}
,
preventAssignment
:
true
,
}
)
,
]
;
export
default
[
// CommonJS build for Node.js
{
input
:
'src/telemetrydeck.js'
,
output
:
{
file
:
'dist/telemetrydeck.cjs'
,
format
:
'cjs'
,
}
,
plugins
,
}
,
// ES module build
{
input
:
'src/telemetrydeck.js'
,
output
:
{
file
:
'dist/telemetrydeck.js'
,
format
:
'esm'
,
}
,
plugins
,
}
,
]
;
Back
|
FazBrowse Home
|
New Git URL