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)
Top comments (0)