File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
symfony/webpack-encore-bundle/1.0 Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
8
8
// any CSS you import will output into a single css file (app.css in this case)
9
- import '../css /app.css' ;
9
+ import './styles /app.css' ;
10
10
11
11
// Need jQuery? Install it with "yarn add jquery", then uncomment to import it.
12
12
// import $ from 'jquery';
13
13
14
- console . log ( 'Hello Webpack Encore! Edit me in assets/js/ app.js' ) ;
14
+ console . log ( 'Hello Webpack Encore! Edit me in assets/app.js' ) ;
File renamed without changes.
Original file line number Diff line number Diff line change 23
23
* Each entry will result in one JavaScript file (e.g. app.js)
24
24
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
25
25
*/
26
- . addEntry ( 'app' , './assets/js/ app.js' )
27
- //.addEntry('page1', './assets/js/ page1.js')
28
- //.addEntry('page2', './assets/js/ page2.js')
26
+ . addEntry ( 'app' , './assets/app.js' )
27
+ //.addEntry('page1', './assets/page1.js')
28
+ //.addEntry('page2', './assets/page2.js')
29
29
30
30
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
31
31
. splitEntryChunks ( )
68
68
69
69
// uncomment if you use API Platform Admin (composer req api-admin)
70
70
//.enableReactPreset()
71
- //.addEntry('admin', './assets/js/ admin.js')
71
+ //.addEntry('admin', './assets/admin.js')
72
72
;
73
73
74
74
module . exports = Encore . getWebpackConfig ( ) ;
You can’t perform that action at this time.
0 commit comments