Skip to content

Commit 5fe4ccf

Browse files
Update app.js
1 parent f5f76c3 commit 5fe4ccf

File tree

1 file changed

+4
-4
lines changed
  • symfony/webpack-encore-bundle/1.0/assets/js

1 file changed

+4
-4
lines changed

symfony/webpack-encore-bundle/1.0/assets/js/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
* (and its CSS file) in your base layout (base.html.twig).
66
*/
77

8-
// any CSS you require will output into a single css file (app.css in this case)
9-
require('../css/app.css');
8+
// any CSS you import will output into a single css file (app.css in this case)
9+
import '../css/app.css';
1010

11-
// Need jQuery? Install it with "yarn add jquery", then uncomment to require it.
12-
// const $ = require('jquery');
11+
// Need jQuery? Install it with "yarn add jquery", then uncomment to import it.
12+
// import $ from 'jquery';
1313

1414
console.log('Hello Webpack Encore! Edit me in assets/js/app.js');

0 commit comments

Comments
 (0)