Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-packages
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许振钊
ydl-packages
Commits
f9c50063
Commit
f9c50063
authored
Aug 22, 2022
by
xuzhenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(custom): rollup.config.js
parent
6238fb7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
package.json
packages/toolkit/package.json
+1
-1
rollup.config.js
packages/toolkit/rollup.config.js
+10
-2
No files found.
packages/toolkit/package.json
View file @
f9c50063
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
"module"
:
"./dist/index.mjs"
,
"module"
:
"./dist/index.mjs"
,
"exports"
:
{
"exports"
:
{
"."
:
{
"."
:
{
"import"
:
"./dist/index.
umd.
js"
,
"import"
:
"./dist/index.
m
js"
,
"require"
:
"./dist/index.umd.js"
"require"
:
"./dist/index.umd.js"
}
}
},
},
...
...
packages/toolkit/rollup.config.js
View file @
f9c50063
...
@@ -12,9 +12,17 @@ export default [
...
@@ -12,9 +12,17 @@ export default [
format
:
'esm'
format
:
'esm'
},
},
plugins
:
[
plugins
:
[
typescript
()
typescript
(),
nodeResolve
({
browser
:
true
,
}),
commonjs
(),
json
(),
babel
({
babelHelpers
:
'inline'
}),
],
],
external
:
[
'axios'
,
'js-cookie'
,
'blueimp-md5'
,
'qs'
,
'mathjs'
]
external
:
[
'axios'
,
'js-cookie'
,
'blueimp-md5'
,
'qs'
]
},
},
/**
/**
* umd 版本兼容es5
* umd 版本兼容es5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment