This code is hard to remember, so I recommend adding the "prc": "npx parcel ./index.html" command between the script tag in the package.json file.
Script command to shorten, in such a way
"scripts": {
"prc": "npx parcel ./index.html"
},
and then
npm run prc
attack ctrl+c
MINIFY CSS
MINIFY Install NPM
install
npm install --save-dev parcel
npm install css-minify -g
next watch
Be sure that filename must be ended with ".css"
css-minify -f filename
or
css-minify --file filename
||
css-minify -d sourcedir -o distdir
or
css-minify --dir sourcedir --output distdir
This code is hard to remember, so I recommend adding the "min": "css-minify -f ./css/style.css" command between the script tag in the package.json file.
This code is hard to remember, so I recommend adding the "twind": "npx tailwindcss ... --watch" command between the script tag in the package.json file.