Skip to content

Commit

Permalink
Fix copying of Albatross client files to dist during build
Browse files Browse the repository at this point in the history
For some reason, the behavior of the copy plugin seems to have changed. Maybe it behaves differently for packages from gitpkg.now.sh than from npm.
  • Loading branch information
sisou committed Apr 29, 2024
1 parent d28b42b commit fd0e986
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ const configureWebpack = {
},
{
from: 'node_modules/@nimiq/albatross-wasm',
to({ context, absoluteFilename }) {
return `./albatross-client/${path.relative(context, absoluteFilename)}`;
},
to: './albatross-client/',
},
]}),
new WriteFileWebpackPlugin(),
Expand Down

0 comments on commit fd0e986

Please sign in to comment.