Use node to build and install dependencies.
cd
into /server/client
, run:
npm install -g browserify
npm install
browserify src/app.js -o dst/bundle.js -t [ babelify --presets [ es2015 ] ]
(createsdst/bundle.js
JS file)
(index.html
should be picking up the dst/bundle
to load)
Use sass to generate the CSS.
cd
into /server/client
, run:
sass --watch scss:css
(creates thecss/style.css
CSS file)