import {frameIntervalometer} from 'intervalometer';import preventEvent from '../../assets/lib/prevent-event';import proxyProperty from '../../assets/lib/proxy-property';import proxyEvent from '../../assets/lib/proxy-event';import dispatchEventAsync from '../../assets/lib/dispatch-event-async';
How come when I deploy it on my codeigniter framework it doesn't work? It displays an error in javascript on my console.
Uncaught SyntaxError: Unexpected token import index.js:1
import {frameIntervalometer} from 'intervalometer';
import preventEvent from '../../assets/lib/prevent-event';
import proxyProperty from '../../assets/lib/proxy-property';
import proxyEvent from '../../assets/lib/proxy-event';
import dispatchEventAsync from '../../assets/lib/dispatch-event-async';