FlaskSSR
- prebuild process
- js -> babel -> minify
- scss -> css -> minfiy
How To Run
- make virtualenv
python3 -m venv venv
source venv/bin/activate
- install python dependency
pip3 install -r requirements.txt
- install babel-cli globally
npm install -g babel-cli
- install babel-preset-env locally
npm install --save babel-preset-env
- run
python3 app.py
Reference
Flask-Assets StackOverflow - How to minify ES2016 or convert to ES2015 in flask? Compiling Frontend JavaScript & Stylesheets Flask