Created
May 26, 2019 10:19
-
-
Save kilgarenone/7b1fcc7c7cd9bd699f31f0363188fb10 to your computer and use it in GitHub Desktop.
inline webpack processed assets in index.html
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<style> | |
<%= compilation.assets[htmlWebpackPlugin.files.chunks.critical.css[0]].source() %> | |
</style> | |
</head> | |
<body> | |
<div id="app"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment