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
d732979b
Commit
d732979b
authored
Aug 05, 2022
by
xuzhenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(custom): vite.config.ts
parent
a722b7bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
package.json
packages/toolkit/package.json
+2
-2
vite.config.ts
packages/toolkit/vite.config.ts
+1
-0
No files found.
packages/toolkit/package.json
View file @
d732979b
...
...
@@ -13,10 +13,10 @@
"files"
:
[
"dist"
],
"module"
:
"./dist/index.
m
js"
,
"module"
:
"./dist/index.js"
,
"exports"
:
{
"."
:
{
"import"
:
"./dist/index.
m
js"
,
"import"
:
"./dist/index.js"
,
"require"
:
"./dist/index.umd.js"
}
},
...
...
packages/toolkit/vite.config.ts
View file @
d732979b
...
...
@@ -4,6 +4,7 @@ import { defineConfig } from 'vite'
export
default
defineConfig
(()
=>
{
return
{
build
:
{
target
:
"es2015"
,
lib
:
{
entry
:
path
.
resolve
(
__dirname
,
'src/index'
),
name
:
'toolkit'
,
...
...
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