Skip to content

Commit

Permalink
Update packages/babel-parser/src/parse-error/standard-errors.js
Browse files Browse the repository at this point in the history
Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
JLHwung and nicolo-ribaudo committed Jun 21, 2022
1 parent 669b4bb commit f5963e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/parse-error/standard-errors.js
Expand Up @@ -130,7 +130,7 @@ export default (_: typeof toParseErrorCredentials) => ({
ImportCallNotNewExpression: _("Cannot use new with import(...)."),
ImportCallSpreadArgument: _("`...` is not allowed in `import()`."),
ImportJSONBindingNotDefault: _(
`A JSON module can only be imported with "default".`,
"A JSON module can only be imported with `default`.",
),
IncompatibleRegExpUVFlags: _(
"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",
Expand Down

0 comments on commit f5963e2

Please sign in to comment.