Last active
June 25, 2017 22:08
-
-
Save kuon/5c2924024b5154a45eb0c62a0f12267e to your computer and use it in GitHub Desktop.
Use SVG sprites from elm with webpack
This file contains 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
require('./index.html') | |
var req = require.context("assets/icons", true, /\.svg$/) | |
req.keys().forEach(req) | |
var Elm = require('./src/Main.elm') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment