sites icon indicating copy to clipboard operation
sites copied to clipboard

REPL: Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)

Open ZerdoX-x opened this issue 3 years ago • 2 comments

https://svelte.dev/repl/2038d78fb2f24ea28db80550f220fc0f?version=3.48.0

Trying to use @splidejs/svelte-splide in repl. But repl seems can't proccess this file: https://unpkg.com/@splidejs/[email protected]/utils/isObject/isObject.js

image

ZerdoX-x avatar May 10 '22 06:05 ZerdoX-x

I got different errors in different browsers. This is how chromium reacts: image

ZerdoX-x avatar May 10 '22 06:05 ZerdoX-x

Also when editing this REPL i couldn't save it:

can't access property "imports", o is null image

ZerdoX-x avatar May 10 '22 06:05 ZerdoX-x