I’m trying to add an audio folder to assets that will be copied over to dist. I tried this in the config: copy: '(images|audio)/**/*',
– any idea?
Full config:
const config = merge({
open: true,
copy: '(images|audio)/**/*',
proxyUrl: 'http://localhost:3000',
cacheBusting: '[name]_[hash]',
paths: {
root: rootPath,
assets: path.join(rootPath, 'resources/assets'),
dist: path.join(rootPath, 'dist'),
},
enabled: {
sourceMaps: !isProduction,
optimize: isProduction,
cacheBusting: isProduction,
watcher: !!argv.watch,
},
watch: [],
}, userConfig);