File tree 4 files changed +21
-2
lines changed
4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 3
3
"@symfony/stimulus-bridge" : " ^2.0.0" ,
4
4
"@symfony/webpack-encore" : " ^1.1.2" ,
5
5
"core-js" : " ^3.0.0" ,
6
+ "file-loader" : " ^6.2.0" ,
6
7
"regenerator-runtime" : " ^0.13.2" ,
7
8
"stimulus" : " ^2.0.0" ,
8
9
"webpack-notifier" : " ^1.6.0"
Original file line number Diff line number Diff line change 6
6
{# Run `composer require symfony/webpack-encore-bundle`
7
7
and uncomment the following Encore helpers to start using Symfony UX #}
8
8
{% block stylesheets %}
9
- {# {{ encore_entry_link_tags('app') }} # }
9
+ {{ encore_entry_link_tags(' app' ) }}
10
10
{% endblock %}
11
11
12
12
{% block javascripts %}
13
- {# {{ encore_entry_script_tags('app') }} # }
13
+ {{ encore_entry_script_tags(' app' ) }}
14
14
{% endblock %}
15
15
</head >
16
16
<body >
Original file line number Diff line number Diff line change @@ -70,6 +70,16 @@ Encore
70
70
71
71
// uncomment if you're having problems with a jQuery plugin
72
72
//.autoProvidejQuery()
73
+
74
+ . copyFiles ( {
75
+ from : './assets/images' ,
76
+
77
+ // optional target path, relative to the output dir
78
+ to : 'images/[path][name].[ext]' ,
79
+ //
80
+ // only copy files matching this pattern
81
+ //pattern: /\.(png|jpg|jpeg)$/
82
+ } )
73
83
;
74
84
75
85
module . exports = Encore . getWebpackConfig ( ) ;
Original file line number Diff line number Diff line change @@ -2457,6 +2457,14 @@ faye-websocket@^0.11.3:
2457
2457
dependencies :
2458
2458
websocket-driver ">=0.5.1"
2459
2459
2460
+ file-loader@^6.2.0 :
2461
+ version "6.2.0"
2462
+ resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d"
2463
+ integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==
2464
+ dependencies :
2465
+ loader-utils "^2.0.0"
2466
+ schema-utils "^3.0.0"
2467
+
2460
2468
fill-range@^7.0.1 :
2461
2469
version "7.0.1"
2462
2470
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
You can’t perform that action at this time.
0 commit comments