configureWebpack: { // provide the app's title in webpack's name field, so that // it can be accessed in index.html to inject the correct title. name: name, resolve: { alias: { '@': resolve('src') } }, output: { filename: `js/[name].js?v=${timeStamp}`, chunkFilename: `js/chunk.[id].js?v=${timeStamp}` } }, css: { extract: { filename: `css/[name].css?v=${timeStamp}`, chunkFilename: `css/chunk.[id].css?v=${timeStamp}` } },
标签:缓存,name,timeStamp,chunk,js,Vue,发版后,id,css From: https://www.cnblogs.com/lucky06y/p/17846247.html