You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
webpack/rules/riot.js

20 lines
415 B

/**
* riot.js
*
* npm install @riotjs/compiler @riotjs/webpack-loader --save-dev
* @author Björn Hase <me@herr-hase.wtf>
* @license http://opensource.org/licenses/MIT The MIT License
* @link https://git.node001.net/tiny-components/webpack.git
*
*/
module.exports = {
test: /\.riot$/,
use: [{
loader: '@riotjs/webpack-loader',
options: {
hot: false,
}
}]
}