DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
// Add the "type": "module" line in your package.json file. { "type": "module" }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#To
#load
#ES
#set
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit