File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -432,27 +432,27 @@ class Encore {
432
432
* For example:
433
433
*
434
434
* // Copy the content of a whole directory and its subdirectories
435
- * Encore.copyFiles({ from: './images' });
435
+ * Encore.copyFiles({ from: './assets/ images' });
436
436
*
437
437
* // Only copy files matching a given pattern
438
- * Encore.copyFiles({ from: './images', pattern: /\.(png|jpg|jpeg)$/ })
438
+ * Encore.copyFiles({ from: './assets/ images', pattern: /\.(png|jpg|jpeg)$/ })
439
439
*
440
440
* // Set the path the files are copied to
441
441
* Encore.copyFiles({
442
- * from: './images',
442
+ * from: './assets/ images',
443
443
* pattern: /\.(png|jpg|jpeg)$/,
444
444
* to: 'assets/images/[path][name].[ext]'
445
445
* })
446
446
*
447
447
* // Version files
448
- * Encore.copyFiles(
449
- * from: './images',
448
+ * Encore.copyFiles({
449
+ * from: './assets/ images',
450
450
* to: 'assets/images/[path][name].[hash:8].[ext]'
451
451
* })
452
452
*
453
453
* // Add multiple configs in a single call
454
454
* Encore.copyFiles([
455
- * { from: './images' },
455
+ * { from: './assets/ images' },
456
456
* { from: './txt', pattern: /\.txt$/ },
457
457
* ]);
458
458
*
You can’t perform that action at this time.
0 commit comments