Commit 904ecfe2 by xuzhenzhao

chore(custom): vite.config.ts

parent a460a2b4
...@@ -4,7 +4,7 @@ const payment = new Payment() ...@@ -4,7 +4,7 @@ const payment = new Payment()
const MOCK_GOODS = { const MOCK_GOODS = {
totalAmount: 100, totalAmount: 100,
orderId: orderId: 1
} }
Utils.setCookie('uid', '130959612') Utils.setCookie('uid', '130959612')
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"exports": { "exports": {
".": { ".": {
"import": "./dist/index.js", "import": "./dist/index.js",
"require": "./dist/index.umd.js" "require": "./dist/index.umd.cjs"
} }
}, },
"dependencies": { "dependencies": {
......
{ {
"entryPoints": ["src"], "entryPoints": ["./src"],
"exclude": ["__test__/**/*.ts"],
"entryPointStrategy": "Expand", "entryPointStrategy": "Expand",
"out": "typedoc", "out": "typedoc",
"plugin": ["typedoc-theme-hierarchy"], "plugin": ["typedoc-theme-hierarchy"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment