@mklimov1/vite-game-forge
v0.0.6
Published
```bash npm ci ```
Readme
@mklimov1/vite-game-forge
Install
npm ciUsage
// vite.config.ts
import { playableConfig } from "@mklimov1/vite-game-forge";
export default ({ mode }) => playableConfig({ network: mode });With Assetpack
npm i -D @assetpack/coreimport { playableConfig } from "@mklimov1/vite-game-forge";
import {
assetpackPlugin,
playablePipesConfig,
} from "@mklimov1/vite-game-forge/assetpack";
export default ({ mode }) =>
playableConfig({
network: mode,
plugins: [assetpackPlugin({ pixiPipes: playablePipesConfig })],
});Build
vite build --mode develop
vite build --mode develop-inlineInfra CLI
npx infra-init # default configs
npx infra-init --playable # playable ad configs
npx infra-init --force # overwrite existing