VUE-CLI repeat Packaging dependency problem

how do I change the direction of a WEBPACK package?

A project of mine introduces a package, and then the plug-in for this project (pointed to through GITLAB) also depends on that package

then causes the package to be packaged twice

I remember reading an article that can force all packaging files to point to the same package to avoid repeated packaging

how to configure it, it"s VUE-CLI3 scaffolding

Jul.05,2022

configure

      splitChunks: {
        chunks: 'all',
     }

create a new vue.config.js under the root of the project (be sure to call it this name)

module.exports = {
  configureWebpack: () => {
      result = {
        output: {
          filename: path.posix.join(assetsDir, 'js/[name].js?[chunkhash]'),
          chunkFilename: path.posix.join(assetsDir, 'js/[id].js?[chunkhash]'),
        },
        optimization: {
          splitChunks: {
            chunks: 'all',
         }
    }

    return result;
  },
};
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdb4ba-31252.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdb4ba-31252.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?