Package Exports
- @jswork/vite-i18n-loader
- @jswork/vite-i18n-loader/dist/index.cjs.js
- @jswork/vite-i18n-loader/dist/index.esm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jswork/vite-i18n-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vite-i18n-loader
Another vite i18n loader.
installation
npm install @jswork/vite-i18n-loaderusage
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import i18nLoader from '@jswork/vite-i18n-loader';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), i18nLoader()],
server: {
host: '0.0.0.0'
}
});license
Code released under the MIT license.