Skip to content

Conversation

D1plo1d
Copy link

@D1plo1d D1plo1d commented Dec 14, 2015

Makes the require function accessible inside functions.

Example with jade:

doctype html
html(lang="en")
  head
    link(rel="icon", href=require("file!favicon.png"))

The require function can be used with the url-loader or file-loader to generate cache busting URLs as well as inlined base64 encoded images.

Related: #4

@exah
Copy link

exah commented Jan 27, 2016

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants