Skip to content

pd4d10/unplugin-properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unplugin-properties

npm

An Vite/Rollup/Webpack/esbuild plugin to load properties files.

Usage

Vite

// vite.config.ts
import properties from "unplugin-properties";

export default defineConfig({
  plugins: [
    // ...
    properties.vite(),
  ],
});

Rollup

// rollup.config.js
import properties from "unplugin-properties";

export default {
  plugins: [
    // ...
    properties.rollup(),
  ],
};

Webpack

// webpack.config.js
module.exports = {
  plugins: [
    // ...
    require("unplugin-properties").webpack(),
  ],
};

esbuild

import properties from "unplugin-properties";

require("esbuild").build({
  // ...
  plugins: [
    // ...
    properties.esbuild(),
  ],
});

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published