Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
eec7fae2
Commit
eec7fae2
authored
Apr 10, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wasm pack
parent
12ce8027
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vite.config.ts
vite.config.ts
+2
-0
No files found.
vite.config.ts
View file @
eec7fae2
...
...
@@ -3,6 +3,7 @@ import react from "@vitejs/plugin-react";
import
svgr
from
"
vite-plugin-svgr
"
;
import
ydkLoader
from
"
vite-ydk-loader
"
;
import
tsconfigPaths
from
"
vite-tsconfig-paths
"
;
import
wasmPack
from
"
vite-plugin-wasm-pack
"
;
// https://vitejs.dev/config/
export
default
defineConfig
({
...
...
@@ -14,6 +15,7 @@ export default defineConfig({
svgr
(),
ydkLoader
(),
tsconfigPaths
(),
wasmPack
(
"
./rust-src
"
)
],
resolve
:
{
extensions
:
[
"
.js
"
,
"
.json
"
,
"
.ydk
"
],
...
...
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