Skip to content

Babel transpile JSLint for Rhino #1347

Answered by tntim96
tntim96 asked this question in Q&A
Jun 30, 2023 · 5 comments · 4 replies
Discussion options

You must be logged in to vote

This config seems to have worked

{
  "presets": [
    [
      "@babel/preset-env",
      {
        "useBuiltIns": "entry",
        "corejs": "3.31",
        "targets": {
          "rhino": "1.7.14"
        },
        "modules": false
      }
    ]
  ]
}

I've pushed this to the repo too

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@tntim96
Comment options

@p-bakker
Comment options

Comment options

You must be logged in to vote
1 reply
@p-bakker
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@p-bakker
Comment options

Answer selected by tntim96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1346 on June 30, 2023 07:46.