edvinasjurele / react-project-starter

React project starter with integrated Webpack 4, SASS, ESLint, Stylint and Prettier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend index.html to support PUBLIC_URL

edvinasjurele opened this issue · comments

Current index.html file has all links like this /main.js which requires to serve the app with nodemon, php or express server serving solution. It is not flexible when you want to run the app just by viewing index.html file in the browser or publishing the standalone app not in the server root.

Expectation

It would be nice to be able to build dist folder as a standalone app and ready to be published to github.io project subfolders.