rollup-plugin-extract-translation-keys
v0.0.4
Published
[webpack-extract-translation-keys](https://github.com/grassator/webpack-extract-translation-keys) for rollup
Downloads
4
Readme
rollup-plugin-extract-translation-keys (WIP)
webpack-extract-translation-keys for rollup
Usage
Install this plugin:
npm install --save-dev rollup-plugin-extract-translation-keys
Include it in your configuration:
// rollup.config.js
import path from "path";
import extractTranslationKeys from "eslint-plugin-extract-translation-keys";
export default {
// Other configuration...
plugins: [
extractTranslationKeys({
output: path.join(__dirname, "dist", "translation-keys.json")
})
]
};
When you run rollup
, you'll get dist/translation-keys.json
file.