Created
April 30, 2020 02:05
-
-
Save hkhc/b99eac8394a1383fdf038b5a9811207d to your computer and use it in GitHub Desktop.
Webpack config for webpack unicode demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _ from 'lodash'; | |
function component() { | |
const element = document.createElement('div'); | |
element.innerHTML = _.join(['Hello', 'webpack'], ' '); | |
return element; | |
} | |
document.body.appendChild(component()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment