File for converting taro language to real executable loader.
To begin, you'll need to install taro-to-react-loader
:
$ npm install taro-to-react-loader --save-dev
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.jsx?$/i,
use: [
{
loader: 'taro-to-react-loader',
options: {}
},
],
},
],
},
};
And run webpack
via your preferred method.