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

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -