Skip to content

Commit

Permalink
log artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 16, 2023
1 parent ef1a1bb commit 66235ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/houdini-react/src/plugin/vite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,14 @@ let devServer: boolean = false
export default {
// we want to set up some vite aliases by default
async config(config, env) {
manifest = await load_manifest({ config, includeArtifacts: env.command === 'build' })
manifest = await load_manifest({
config,
includeArtifacts: env.command === 'build' || env.mode === 'production',
})
setManifest(manifest)

console.log(manifest.artifacts)

// secondary builds have their own rollup config
let conf: { build?: BuildOptions; base?: string } = {
build: {
Expand Down

0 comments on commit 66235ef

Please sign in to comment.