@ovos-media/vite-plugins
v3.0.0
Published
A set of vite plugins, developed by ovos media gmbh.
Maintainers
Keywords
Readme
ovos vite plugins
This package contains a few custom vite plugins used by ovos media.
The graphql and po2json plugins may be useful for other projects as well.
The source is not yet publicly available on github, only the published package on npm.
Usage
import { graphql, po2json } from '@ovos-media/vite-plugins';
// add the plugins to your vite config
const viteConfig = {
plugins: [
graphql,
po2json(),
]
};Development
# in the vite-plugins folder
yarn link;
# in the folder where you want to use the package
yarn link "@ovos-media/vite-plugins";
# in the vite-plugins folder
yarn watch # this will "build" the declaration files and move the to src code to `dist`, which will be published on npm
# release a new version
# first update the version in package.json and then
npm publishLicense
MIT
