Currently the bundle.sh scripts writes to the /dist folder, and server.sh serves from the /dist folder. Since the /dist folder is used to push to production, it shouldn't have development-time artifacts such as source maps or unminified styles / scripts. Consider altering the project structure so that the development setup is served from elsewhere, and /dist only used for production deploys.
Context from #2:
Maybe we shouldn't be exporting to the /dist folder and serving from there for development? This was the easiest thing to do right now, but I feel /dist should only be used for production builds.
Currently the
bundle.sh
scripts writes to the/dist
folder, andserver.sh
serves from the/dist
folder. Since the/dist
folder is used to push to production, it shouldn't have development-time artifacts such as source maps or unminified styles / scripts. Consider altering the project structure so that the development setup is served from elsewhere, and/dist
only used for production deploys.Context from #2: