javascript - Browserify and babelify works locally, but not on live website -


i'm building project in react , javascript, , i'm building browserify , babelify, outputting bundle.js file. when run index.html locally, bootstrap, fonts, , css files loaded properly. after submitting github pages onto custom domain, everything's messed - images everywhere, no formatting, bootstrap not loaded. i'm assuming file path got messed up, why?

<head>     <link rel="stylesheet" href="./src/stylesheet/style.scss"> # path works locally </head> <body>     <div id="app"></div>     <script src="./bundle.js"></script> </body> 


Comments

Popular posts from this blog

ruby on rails - ActiveRecord order not working -

javascript - How do you prevent nested queries/catches in sequelize? -

java - ConcurrentModificationException upon committing transaction with Hibernate -