webpack stats.json in 0.15



  • In 0.14, as everything was separate, I ran the webpack command pointing to the configuration file in the build folder to generate the stats.json file, how do you do it now in version 0.15? I imagine the only way is using extendWebpack, but how?



  • For those who want to know the solution:
    the “analyze” parameter in quasar.config.js accepts an object, not just true/false, so:
    analyze: { generateStatsFile: true }
    will generate the file stats.json inside dist folder