[Vuejs]-Webpack configuration intermittently working

0👍

OK,

I’m sorry for the mistake, but for an unknown reason, my configuration file did go back to a previous version and I noticed the fact just now.

After repeating the change did Yesterday, the problem disappeared. I lost half of my day figuring out the problem that blocked the script execution, so I share the part of the code I had to remove in order to get a working configuration.

I’d like to know if anybody knows, why this piece of code is preventing the scripts in the bundle from running.

optimization: {
  runtimeChunk: 'single',
  splitChunks : {
    chunks: 'all'
  }
},

Thank you all.

Leave a comment