1.5.0 • Published 5 months ago
@ovos-media/vite-plugins v1.5.0
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';
// add the plugins to your vite config
const viteConfig = {
plugins: [
graphql,
typesForCssModules({
// if you want to allow resolving paths from your root src folder, pass the `root` config option
root: path.resolve(__dirname, 'src'),
}),
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
2.0.0-rc.0
5 months ago
2.0.0-rc.1
5 months ago
1.5.0
2 years ago
1.4.0
2 years ago
1.3.3
3 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.0
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago