Open blahutka opened 9 years ago
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
riot.parsers.js.coffeescript = riot.parsers.js.coffee;
return riot.compile(content, options);
I need to parse html with this type
<script type="text/coffeescript"> @test = 'riotjs awesome' </script>
Try adding query: { type: "coffee" } to your definition.
query: { type: "coffee" }
For example:
preLoaders: [ { test: /\.tag/, loader: "riotjs", query: { type: "coffee" } } ]
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
I need to parse html with this type