Ciro Santilli $$ Sponsor Ciro $$ 中国独裁统治 China Dictatorship 新疆改造中心、六四事件、法轮功、郝海东、709大抓捕、2015巴拿马文件 邓家贵、低端人口、西藏骚乱
🔗
🔗
Webpack is like a magic hydra that can eat any type of file and bundle it into a single output: .js, .ts, .ccs, .scss, .jsx, .tsx, require, import, import css from .js, it doesn't matter at all, it just digests all into the same dump.
🔗
When it works, you are just left in awe. When it doesn't, you're fucked and have to debug for several hours.
🔗
🔗
web-cheat/webpack/template contains a reasonable starter template.
🔗
Usage:
cd web-cheat/webpack/template
npm install
npm run build
🔗
This will produce, under dist/ the following minimized files:
🔗
You can also run this test with the development server on http://localhost:9000:
npm start
which uses unminimized outptus, and automatically push reloads the page whenever you change any of the input files!
🔗
🔗

Ancestors

🔗