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 66 */
77
88// 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' ;
1010
1111// Need jQuery? Install it with "yarn add jquery", then uncomment to import it.
1212// import $ from 'jquery';
1313
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 2323 * Each entry will result in one JavaScript file (e.g. app.js)
2424 * and one CSS file (e.g. app.css) if your JavaScript imports CSS.
2525 */
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')
2929
3030 // When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
3131 . splitEntryChunks ( )
6868
6969 // uncomment if you use API Platform Admin (composer req api-admin)
7070 //.enableReactPreset()
71- //.addEntry('admin', './assets/js/ admin.js')
71+ //.addEntry('admin', './assets/admin.js')
7272;
7373
7474module . exports = Encore . getWebpackConfig ( ) ;
You can’t perform that action at this time.
0 commit comments