vtranslit-scheme-loader
Webpack loader to convert vtranslit schemes written in YAML to js object.
Usage
Install:
$ npm i vtranslit-scheme-loader
In 'webpack.config.js':
"...": "..." module: rules: test: /.ya?ml$/ use: "vtranslit-scheme-loader"
Note: This outputs js code in ES6. So, you might want to use Babel to convert it to ES5. The output is not in ES6. So, no need to use Babel any more.