Skip to content

Commit

Permalink
Update estree-util-build-jsx (esm)
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 3, 2021
1 parent 9011e23 commit 61724e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/plugin/recma-jsx-build.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import build from 'estree-util-build-jsx'
import {buildJsx} from 'estree-util-build-jsx'
import u from 'unist-builder'
import {specifiersToObjectPattern} from '../util/estree-util-specifiers-to-object-pattern.js'

Expand All @@ -24,7 +24,7 @@ export function recmaJsxBuild(options = {}) {
* @param {Program} tree
*/
function transform(tree) {
build(tree)
buildJsx(tree)

// When compiling to a function body, replace the import that was just
// generated, and get `jsx`, `jsxs`, and `Fragment` from `arguments[0]`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@rollup/pluginutils": "^4.0.0",
"astring": "^1.6.0",
"deasync": "^0.1.0",
"estree-util-build-jsx": "^1.1.0",
"estree-util-build-jsx": "^2.0.0",
"estree-util-is-identifier-name": "^2.0.0",
"estree-walker": "^3.0.0",
"hast-util-to-estree": "^1.2.0",
Expand Down

0 comments on commit 61724e3

Please sign in to comment.