vtranslit-scheme-loader

0.2.0 • Public • Published

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.

Package Sidebar

Install

npm i vtranslit-scheme-loader

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

2.66 kB

Total Files

4

Last publish

Collaborators

  • vipranarayan14