Skip to content

Commit

Permalink
Remove sourcetype related errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Mar 22, 2021
1 parent 5bc4419 commit f6493d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/babel-parser/src/parser/error-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ export const ErrorMessages: ErrorTemplates = makeErrorTemplates({
ImportCallArity: "import() requires exactly %0",
ImportCallNotNewExpression: "Cannot use new with import(...)",
ImportCallSpreadArgument: "... is not allowed in import()",
ImportMetaOutsideModule: `import.meta may appear only with 'sourceType: "module"'`,
ImportOutsideModule: `'import' and 'export' may appear only with 'sourceType: "module"'`,
InvalidBigIntLiteral: "Invalid BigIntLiteral",
InvalidCodePoint: "Code point out of bounds",
InvalidDecimal: "Invalid decimal",
Expand Down

0 comments on commit f6493d3

Please sign in to comment.