Loads and parses Maraca files.
yarn add maraca-loader --dev
or
npm install maraca-loader --save-dev
index.js
import maraca from 'maraca';
const source = require('start.ma');
maraca(source, data => console.log(data));
webpack.config.js
{
"module": {
"rules": [
{
"test": /\.ma$/,
"use": ["maraca-loader"]
}
]
}
}