Skip to content

Commit

Permalink
figure out parent directory path (#820)
Browse files Browse the repository at this point in the history
* figure out parent directory path

* prettier
  • Loading branch information
bencooper222 committed Jun 7, 2021
1 parent e195928 commit 8251cb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ module.exports = {
},
output: {
filename: '[name].[contenthash].bundle.js',
path: path.resolve(__dirname, 'dist/src/server/app'),
path: path.resolve(
__dirname.split(path.sep).slice(0, -1).join(path.sep),
'dist/src/server/app'
),
publicPath: ASSET_PATH,
crossOriginLoading: 'anonymous',
},
Expand Down

0 comments on commit 8251cb7

Please sign in to comment.