Skip to content

Commit

Permalink
add wild cards to viteStaticCopy plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Jan 12, 2024
1 parent e16bcdf commit 2820d3e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/connect/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ export default defineConfig({
viteStaticCopy({
targets: [
{
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/index.js',
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/*.js',
dest: 'assets/wormhole-connect/'
},
{
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/main.js',
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/*.css',
dest: 'assets/wormhole-connect/'
},
{
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/main.css',
dest: 'assets/wormhole-connect/'
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/assets/*.js',
dest: 'assets/wormhole-connect/assets'
},
{
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/assets/*',
src: 'node_modules/@wormhole-foundation/wormhole-connect/dist/assets/*.css',
dest: 'assets/wormhole-connect/assets'
}
]
Expand Down

0 comments on commit 2820d3e

Please sign in to comment.