Skip to content

Commit

Permalink
chore: Bump Node target version to v12 (#954)
Browse files Browse the repository at this point in the history
* chore: Bumps Node target to v12

* docs: Adding changeset
  • Loading branch information
rschristian committed May 4, 2022
1 parent 6018e58 commit 9a4e2b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/breezy-cheetahs-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'microbundle': patch
---

Bumps Node target to v12
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ function createConfig(options, entry, format, writeMeta) {
defines,
modern,
compress: options.compress !== false,
targets: options.target === 'node' ? { node: '8' } : undefined,
targets: options.target === 'node' ? { node: '12' } : undefined,
pragma: options.jsx,
pragmaFrag: options.jsxFragment,
typescript: !!useTypescript,
Expand Down

0 comments on commit 9a4e2b2

Please sign in to comment.