Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Latest commit

 

History

History

svelte

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

svelte

This is a basic example to show Rollup usage with the svelte plugin.

Bundling

rollup -c

To view your new HTML page and bundled code run:

deno run --allow-net --allow-read https://deno.land/std@0.110.0/http/file_server.ts ./dist --port 3000

This uses the Deno standard library's file_server module to serve the static files in the ./dist directory to 0.0.0.0 port 3000. Open a browser at http://0.0.0.0:3000/ to view your running Svelte app.