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
7577b913
Commit
7577b913
authored
Aug 19, 2022
by
xuzhenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(custom): rollup add mathjs resolve
parent
2959fb8e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
package.json
packages/toolkit/package.json
+5
-1
rollup.config.js
packages/toolkit/rollup.config.js
+12
-1
pnpm-lock.yaml
pnpm-lock.yaml
+0
-0
No files found.
packages/toolkit/package.json
View file @
7577b913
...
@@ -7,7 +7,8 @@
...
@@ -7,7 +7,8 @@
"lib"
:
"npx rollup -c"
,
"lib"
:
"npx rollup -c"
,
"test"
:
"npx jest __tests__"
,
"test"
:
"npx jest __tests__"
,
"doc"
:
"npx typedoc"
,
"doc"
:
"npx typedoc"
,
"prepublishOnly"
:
"npm run lib"
"prepublishOnly"
:
"npm run lib"
,
"commit"
:
"git add . && npx cz-customizable"
},
},
"keywords"
:
[
"keywords"
:
[
"pay"
,
"pay"
,
...
@@ -38,6 +39,9 @@
...
@@ -38,6 +39,9 @@
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@jest/globals"
:
"^28.1.3"
,
"@jest/globals"
:
"^28.1.3"
,
"@rollup/plugin-commonjs"
:
"^22.0.2"
,
"@rollup/plugin-json"
:
"^4.1.0"
,
"@rollup/plugin-node-resolve"
:
"^13.3.0"
,
"@types/blueimp-md5"
:
"^2.18.0"
,
"@types/blueimp-md5"
:
"^2.18.0"
,
"@types/consola"
:
"^2.2.5"
,
"@types/consola"
:
"^2.2.5"
,
"@types/jest"
:
"^28.1.6"
,
"@types/jest"
:
"^28.1.6"
,
...
...
packages/toolkit/rollup.config.js
View file @
7577b913
import
typescript
from
'rollup-plugin-typescript2'
import
typescript
from
'rollup-plugin-typescript2'
import
json
from
'@rollup/plugin-json'
;
import
commonjs
from
'@rollup/plugin-commonjs'
;
import
{
nodeResolve
}
from
'@rollup/plugin-node-resolve'
;
export
default
[
export
default
[
{
{
...
@@ -18,6 +21,13 @@ export default [
...
@@ -18,6 +21,13 @@ export default [
name
:
'YDLToolKit'
,
name
:
'YDLToolKit'
,
format
:
'umd'
format
:
'umd'
},
},
plugins
:
[
typescript
()]
plugins
:
[
typescript
(),
commonjs
(),
json
(),
nodeResolve
({
dedupe
:
[
'mathjs'
]
})
]
}
}
]
]
\ No newline at end of file
pnpm-lock.yaml
View file @
7577b913
This diff is collapsed.
Click to expand it.
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