In the scaffolding project, the output.path of webpack in dev and pro is the dist directory, but when debugging, js is not under dist?

output: {

path: config.build.assetsRoot, // devoutput
filename: "[name].js",
publicPath: process.env.NODE_ENV === "production"
  ? config.build.assetsPublicPath
  : config.dev.assetsPublicPath

},

output: {

path: config.build.assetsRoot, // productionoutput
filename: utils.assetsPath("js/[name].[chunkhash].js"),
chunkFilename: utils.assetsPath("js/[id].[chunkhash].js")

},

what is the referencing process of all files (vue files, css files, js files) when webpack starts local server in dev environment? -sharp-sharp-sharp problem description


dev seems to generate output directly in memory, without physical files.

Menu