Skip to content

Commit

Permalink
fix: use vite mode = 'development' to prevent production optimizations
Browse files Browse the repository at this point in the history
For example: vue 3 removes prop types in prod
  • Loading branch information
Akryum committed May 31, 2022
1 parent a796e1b commit bf0fc7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/histoire/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export async function build (ctx: Context) {
const emptyStoryCount = ctx.storyFiles.length - storyCount

const results = await viteBuild({
mode: 'development',
plugins: await createVitePlugins(false, ctx),
build: {
rollupOptions: {
Expand Down

0 comments on commit bf0fc7e

Please sign in to comment.