1.0.0 • Published 6 years ago

angular-gettext-extract-loader v1.0.0

Weekly downloads
336
License
MIT
Repository
github
Last release
6 years ago

Loader to extract gettext strings from an angular project.

webpack

compaitable with webpack ^4.0.0

Installation

npm i -D angular-gettext-extract-loader

Usage

Add it into the pipeline for js & html loading:

modules: {
  ...
  loaders: [
    ...
      {
        test: /src.*\.js$/,
        loader: 'angular-gettext-extract-loader?pofile=po/template.pot'
      },
      {
        test: /src.*\.html$/,
        loader: 'angular-gettext-extract-loader?pofile=po/template.pot'
      },
    ...
  ]
  ...
}

This will output all strings found to the the configured pofile.

1.0.0

6 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago