Skip to content

Commit

Permalink
fix: configure public path (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
connoratrug authored Apr 12, 2021
1 parent 1d9f6a0 commit 40d70cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
outputDir: 'dist',
publicPath: process.env.NODE_ENV === 'production' ? '@molgenis-ui/snp-visualization/dist/' : '/',
configureWebpack: {
devtool: 'source-map'
}
}

0 comments on commit 40d70cf

Please sign in to comment.