Skip to content

Commit

Permalink
feat(core/options): BREAKING CHANGE cache is disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Jul 19, 2024
1 parent e5d1958 commit 7a1b5a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/unplugin-typia/src/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const defaultOptions = ({
exclude: [/node_modules/],
enforce: 'pre',
typia: { },
cache: true,
cache: false,
log: true,
tsconfig: undefined,
}) as const satisfies ResolvedOptions;
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin-typia/test/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ test('Return cache is true if cache key is true', () => {

test('Return cache is true if cache key is not passed', () => {
const options = resolveOptions({});
assertEquals(options.cache, true);
assertEquals(options.cache, false);
});

0 comments on commit 7a1b5a1

Please sign in to comment.