Skip to content

Commit e2ef2fb

Browse files
author
Tyler Rockwood
committed
Update package scripts
1 parent 3c9a492 commit e2ef2fb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"node": ">=14"
1717
},
1818
"scripts": {
19-
"build": "vite build"
19+
"build": "vite build",
20+
"bench": "vitest bench",
21+
"test": "vitest"
2022
},
2123
"prettier": {
2224
"printWidth": 80,

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export default defineConfig({
2525
},
2626
},
2727
sourcemap: true,
28-
target: 'es6',
28+
// Let the consumer of the node_module set the target.
29+
target: 'esnext',
2930
minify: false,
3031
},
3132
});

0 commit comments

Comments
 (0)