I have a script with imports.
I am getting an error on the very first one.
It's not a 404 but a
plyr.js:8
Uncaught SyntaxError: Unexpected identifier
The modules are on the correct path.
Heres the code that crashes:
// ==========================================================================
// Plyr
// plyr.js v3.4.3
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
import captions from './captions';
........
Pretty much a newbie on modules so I'm not sure where to make adjustments.
importsyntax