Quasar DistDir do not be deleted in build.
-
App version : 17.20
Early versions of quasar dont delete distDir, just ovewrite files.
Can i use overwriting again ?
I dont see options on conf. -
@leon I don’t know but if you need a file or two in the dist directory you can configure webpack to copy it there. In my case I needed the file
.realsync
.extendWebpack (cfg) { cfg.module.rules.push({ enforce: 'pre', test: /\.(js|vue)$/, loader: 'eslint-loader', exclude: /node_modules/, options: { fix: true } }); if (cfg.output) { const CopyWebpackPlugin = require('copy-webpack-plugin'); cfg.plugins.push( new CopyWebpackPlugin([{ from: '.realsync', to: cfg.output.path } ]) ); } }