Skip to content

Commit a677564

Browse files
committed
test: enable oxc runtime injection in lib playground
1 parent 12f8197 commit a677564

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

playground/lib/vite.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export default defineConfig({
1111
},
1212
},
1313
build: {
14+
// Force oxc inject helpers to test regex
15+
// - object rest spread
16+
// - optional chaining
17+
target: 'chrome46',
1418
rollupOptions: {
1519
output: {
1620
banner: `/*!\nMayLib\n*/`,

0 commit comments

Comments
 (0)