Skip to content

Commit

Permalink
fixed: copy MapGallery to application
Browse files Browse the repository at this point in the history
  • Loading branch information
zkiiito authored Nov 4, 2019
1 parent eee0c98 commit cc7f54a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .electron-vue/webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ if (process.env.NODE_ENV === 'production') {
to: path.join(__dirname, '../dist/electron/static'),
ignore: ['.*']
},
{
from: path.join(__dirname, '../node_modules/MapGallery'),
to: path.join(__dirname, '../dist/electron/static/MapGallery'),
ignore: ['*.jpg']
},
]),
new webpack.DefinePlugin({
'process.env.NODE_ENV': '"production"'
Expand Down

0 comments on commit cc7f54a

Please sign in to comment.