elm-webpack-starter icon indicating copy to clipboard operation
elm-webpack-starter copied to clipboard

Set webpack publicPath to allow for nested url paths

Open ardentTech opened this issue 6 years ago • 0 comments

Without explicitly setting publicPath, webpack builds the output path for main.js relative to the URL. This works fine for paths such as / and /posts, but as soon as the path is nested at least once the request for main.js 404s.

ardentTech avatar Sep 25 '17 18:09 ardentTech