Webpack 4: How to transpile and minify JavaScript files using babel-loader (from scratch)

preview_player
Показать описание
correction: regex typo around 4:08 missing an escape slash /\.(js|jsx)$/

How to install and use webpack and babel for transpiling JavaScript files.
How to minify and remove comments using babel-minify-webpack-plugin.
Рекомендации по теме
Комментарии
Автор

Thank Psst: sneaky regex typo around 4:08 missing an escape slash /\.(js|jsx)$/

evalarumbe
Автор

Dude Thank you so much! It took me hours to find a tutorial which would explain it properly and is up to date!!!! Thank you so much

davidhaase
Автор

OMG thank you so much for this!!! You are a life saver!!! huhuhuhuhuhuhu

lorimaydeguzman