SyntaxFix
Write A Post
Hire A Developer
Questions
If you are doing something for the web you need to use the js file extension:
import { moo } from 'file.js';
If you are doing something for nodejs I don't think use the js file extension:
import { moo } from 'file';