Skip to content

Commit c92e002

Browse files
authored
Merge pull request #19 from xsnippet/nested-routes
Set output publicPath in webpack.config.js
2 parents e089051 + f7d52c8 commit c92e002

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = () => {
3232
output: {
3333
filename: '[name].[chunkhash].js',
3434
path: path.resolve(__dirname, 'dist'),
35+
publicPath: process.env.ASSET_PATH || '/',
3536
},
3637

3738
module: {

0 commit comments

Comments
 (0)