Webpack Plugin
Install
Section titled “Install”npm install @localive/webpackConfiguration
Section titled “Configuration”Add LocaliveWebpackPlugin to your Webpack config:
const { LocaliveWebpackPlugin } = require('@localive/webpack');
module.exports = { plugins: [ new LocaliveWebpackPlugin({ translationsPath: 'src/locales', locales: ['en', 'fr', 'de'], defaultLocale: 'en', }), ],};Options
Section titled “Options”Same options as the Vite plugin. See Vite Plugin for the full options list.