score:1

finally, i added in the webpackhtmlplugin:

new htmlwebpackplugin({
      // filename: 'index.html',
      template: 'src/index.html',
      inject: 'body'  // here
})

and the error gone.


Related Query

More Query from same tag