Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Configuring steal to load new type via plugins

$
0
0
I have a plugin for loading a say images it is located pluginfolder/image.js

I want to load a file with name some.png using this plugin

require('some.png!image')

How should I configure steal to load it correctly?

I tried, it doesn't work:

ext: {
   image: "pluginfolder/image"
}


Viewing all articles
Browse latest Browse all 3491

Trending Articles