Use the string "module" in err message (#598)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "'import' and 'export' may appear only with 'sourceType: module' (1:0)"
|
||||
"throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "'import' and 'export' may appear only with 'sourceType: module' (1:0)"
|
||||
"throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "'import' and 'export' may appear only with 'sourceType: module' (1:0)"
|
||||
"throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"throws": "import.meta may appear only with 'sourceType: module' (1:10)",
|
||||
"throws": "import.meta may appear only with 'sourceType: \"module\"' (1:10)",
|
||||
"plugins": ["dynamicImport", "importMeta"],
|
||||
"sourceType": "script"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user