Webpack 5 Boilerplate

zural

Shiva

Posted on May 7, 2020

Webpack 5 Boilerplate

Post:
https://medium.com/@zural143/basic-webpack-4-and-es5-to-es6-transpiler-using-babel-dc66e72c86c6

Github:
https://github.com/sivaraj-v/react-webpack-starter-kit

I need to get rid of the following error in build, Looking for a solution.

npm run build or yarn build

$ webpack --mode production
10% building(node:94651) [DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH] DeprecationWarning: MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)
95% emitting HtmlWebpackPlugin(node:94651) [DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH] DeprecationWarning: MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)
💖 💪 🙅 🚩
zural
Shiva

Posted on May 7, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Why am'I using the webpack tool?
webpack Why am'I using the webpack tool?

June 10, 2020

Webpack 5 Boilerplate
webpack Webpack 5 Boilerplate

May 7, 2020

SSH server with WebPack
javascript SSH server with WebPack

December 19, 2017