File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,7 @@ __webpack.config.js__
591
591
__ src/index.js__
592
592
593
593
``` diff
594
- - import _ from 'lodash';
594
+ import _ from 'lodash';
595
595
- import './style.css';
596
596
- import Icon from './icon.png';
597
597
- import Data from './data.xml';
@@ -600,7 +600,7 @@ __src/index.js__
600
600
var element = document.createElement('div');
601
601
-
602
602
- // Lodash, now imported by this script
603
- - element.innerHTML = _.join(['Hello', 'webpack'], ' ');
603
+ element.innerHTML = _.join(['Hello', 'webpack'], ' ');
604
604
- element.classList.add('hello');
605
605
-
606
606
- // Add the image to our existing div.
@@ -610,7 +610,6 @@ __src/index.js__
610
610
- element.appendChild(myIcon);
611
611
-
612
612
- console.log(Data);
613
- + element.innerHTML = _.join(['Hello', 'webpack'], ' ');
614
613
615
614
return element;
616
615
}
You can’t perform that action at this time.
0 commit comments