npm init -y
Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.
| # Place this file inside /etc/nginx/conf.d/server-includes/ | |
| location @httpd_fallback { | |
| proxy_pass $scheme://$CPANEL_APACHE_PROXY_REQ_IP:$CPANEL_APACHE_PROXY_REQ_PORT; | |
| } | |
| location ~ \.(gif|jpg|jpeg|png|css|js|svg|webm|webp)$ { | |
| expires 30d; | |
| add_header Vary Accept-Encoding; | |
| access_log off; |