riotjs-loader
riotjs-loader copied to clipboard
riotjs module loader for webpack
npm install yields: Peer [email protected] wants riot@^2.0.5
npm^3 will not support it.
if the loader return the required for riot, there is no more need to using providePlugin. ``` js return "var riot = require('riot')\n\n" + riot.compile(content, options); ```
Hi @esnunes do you know how to tweak this in webpack config? This works when I add this to riotjs-loader https://github.com/muut/riotjs/issues/751 ``` javascript riot.parsers.js.coffeescript = riot.parsers.js.coffee; ``` ``` return riot.compile(content,...
Requiring tags files work properly if I use `require('./tags/buddy-list.tag');`. The JS output properly sets up a `riot.tag(...)`. However, when I try to use `require.context('./tags', true, /\.tag$/)`, what I get in...