Closed maxmckenzie closed 3 years ago
"build": "babel src -d dist && mkdir -p dist/views && cp -a src/views/. dist/views/.",
the above code has been added that copies the view directory over to the dist folder. However windows wil not be able to use this command currently
Error: Failed to lookup view "pages/index" in views directory "/Users/maxmckenzie/Development/gigya/node-gigya-boilerplate/dist/views"
due to the organisation of the view directory inside of the src folder
npm run build
andnpm start
does not pick up the templates. This could be solved by moving it to root. But i don't really want to do that.I would prefer that it stayed there, used es6 along with the assets directory then using something like webpack to built it all out to the dist folder.