@aofl/i18n-loader

3.5.0 • Public • Published

@aofl/i18n-loader

The @aofl/i18n-loader generates language.js files used by @aofl/i18n-mixin from .po files. See the @aofl/i18n-mixin docs for more usage details.

Getting started

Run npm i -D @aofl/i18n-loader

Then add the loader to your webpack config:

module: {
  rules: [
    {
      test: /language\.js$/,
      use: [
        {
          loader: '@aofl/i18n-loader',
          options: {
            cache: true
          }
        }
      ]
    }
  ]
}

/@aofl/i18n-loader/

    Package Sidebar

    Install

    npm i @aofl/i18n-loader

    Weekly Downloads

    43

    Version

    3.5.0

    License

    MIT

    Unpacked Size

    1.93 kB

    Total Files

    4

    Last publish

    Collaborators

    • alexdinari