Skip to content

idleberg/vite-plugin-nlf

Repository files navigation

@nsis/vite-plugin-nlf

A Vite plugin to load NSIS language files

License Version Build

Installation

npm install -D @nsis/vite-plugin-nlf

Usage

// vite.config.js
import { defineConfig } from 'vite';
import nlf from '@nsis/vite-plugin-nlf';

export default defineConfig({
    plugins: [
        nlf()
    ]
});
// example.js
import English from './Contrib/Language files/English.nlf';

console.log(`The ID for English is ${English.id}`);

License

This work is licensed under The MIT License