Skip to content

Commit

Permalink
chore: fix bench (#2840)
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech authored Jun 7, 2023
1 parent d08031b commit 5c94471
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ export default defineConfig([
}],
plugins: [
babel({
presets: [['@babel/preset-env', { loose: true }]]
presets: [['@babel/preset-env', { loose: true }]],
babelHelpers: 'bundled'
})
]
}
Expand Down
4 changes: 4 additions & 0 deletions test/bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export async function runBench(options) {

// Non-GFM, Non-pedantic
cjsMarked.setOptions({
headerIds: false,
mangle: false,
gfm: false,
breaks: false,
pedantic: false,
Expand All @@ -46,6 +48,8 @@ export async function runBench(options) {
tests['cjs marked'] = cjsMarked.parse;

esmMarked.setOptions({
headerIds: false,
mangle: false,
gfm: false,
breaks: false,
pedantic: false,
Expand Down

1 comment on commit 5c94471

@vercel
Copy link

@vercel vercel bot commented on 5c94471 Jun 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.