I'm designing TV app that should be compatible for multiple devices LG and Samsung, and i need to copy specific platform related files into src folders so that those platform specific files are used for displaying on the app , when im using copy webpack plugin im not able to copy as the i see copywebpack plugin is only used to copy files to output folders, currently im using gulp task to copy files, can i achieve the same using webpackconfig?
below is my gulp task
gulp.task('copy-resources-LG', function() {
return gulp.src('./src/platform/LG/assets/*')
.pipe(gulp.dest('./src/assets'));
});
gulp.task('copy-resources-SAM', function() {
return gulp.src('./src/platform/Samsung/assets/*')
.pipe(gulp.dest('./src/assets/'));
});
question from:
https://stackoverflow.com/questions/66061181/copy-files-between-src-folders-using-webpack-not-able-to-do-the-same-with-copywe 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…