Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

SyntaxError: Cannot use import statement outside a module babel

// add this in package.json
{
  "type": "module"
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Cannot #import #statement #module #babel
ADD COMMENT
Topic
Name
2+1 =