ovos vite plugins
This package contains a few custom vite plugins used by ovos media.
The graphql
, po2json
and typesForCssModules
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, typesForCssModules, po2json } from '@ovos-media/vite-plugins';
const viteConfig = {
plugins: [
graphql,
typesForCssModules({
root: path.resolve(__dirname, 'src'),
}),
po2json(),
]
};
Development
yarn link;
yarn link "@ovos-media/vite-plugins";
yarn watch
npm publish
License
MIT