3.11.0 • Published 3 years ago
@lingui/snowpack-plugin v3.11.0
@lingui/snowpack-plugin
Snowpack plugin which compiles on the fly the .po files for auto-refreshing. In summary,
lingui compile
command isn't required when using this plugin
@lingui/snowpack-plugin
is part of LinguiJS. See the documentation for all information, tutorials and examples.
Installation
npm install --save-dev @lingui/snowpack-plugin
# yarn add --dev @lingui/snowpack-plugin
Usage
Via snowpack.config.js
(Recommended)
snowpack.config.js
module.exports = {
plugins: [
'@lingui/snowpack-plugin',
],
}