Using Snap with Meteor and problems loading the app

I’m trying out Snap on meteor but have problems starting my app. I think its my main.html that’s the issue. I’ve installed the snap package but i’m using the script source in the html doc.

main.html


> <head>
>   <title>Snap Svg</title>
>   <h1>Welcome to SNap!</h1>
>   <script src="snap.svg-min.js"></script>
> </head>

>     {{> main}}
> <body>

>   <script>
>     var s = Snap(400,200);
>     var bigCircle = s.circle(150,150,100);
>     var rect = s.rect(200, 0, 200, 200);
>   </script>
>  </body>

>  <template name="main">
>     <svg id="svg"></<svg>
>  </template>

main.js



> import { Template } from 'meteor/templating';
> import { ReactiveVar } from 'meteor/reactive-var';
> import { Chart } from 'chart.js';
> import { Snap} from 'core';

> import './main.html';

If I remember correctly from a year ago using Snap it doesn’t supply an export. . . so there is nothing to import. Have you tried to see if your app starts when you delete import { Snap } from 'core';? Adding the script to the header like that makes Snap a global variable that can be used without importing.