template icon indicating copy to clipboard operation
template copied to clipboard

Template for building basic applications with Svelte

Results 41 template issues
Sort by recently updated
recently updated
newest added

When I try to build with a .ts file containing typescript I get an error e.g.: ``` src/main.ts → public/build/bundle.js... [!] Error: Unexpected token (Note that you need plugins to...

### 1、status quo If I want to customize public dir, I have to set it both in rollup.config.js and package.json, which is pretty tedious and less friendly to new comers....

### Describe the bug When testing Svelte for the very first time, it throws an error. ![image](https://user-images.githubusercontent.com/711603/159505391-9cbffb83-4737-486b-b401-add6d52d5f9d.png) ### Reproduction npx degit sveltejs/template my-svelte-project cd my-svelte-project npm install npm run dev...

fresh project just cloned from repo, and ran typescript setup script. Getting warning when run `npm run build`: Plugin typescript: @rollup/plugin-typescript: Typescript 'sourceMap' compiler option must be set to generate...

question

As was reported in https://github.com/sveltejs/template/issues/244, when using the current template, importing a TypeScript file in Svelte files, e.g. ```ts import { foo } from './utility'; ``` causes this error: ```...

Fixed readme typo and some auto-formatting.

`SIGTERM` has no effect for `npm run dev`. I'm using Svelte with Tauri (related issue: https://github.com/tauri-apps/tauri/issues/1626), and this is causing leftover processes running after Tauri exits. ### Reproduction 1. Get...

It seems that compilerOptions have no effect at **all** for the compiler. ```js export default { input: 'src/main.js', output: { sourcemap: true, format: 'iife', name: 'app', file: 'public/build/bundle.js' }, plugins:...

I know this code is pretty trivial, but it might it might still help to have a license. From the [GitHub guidance on licensing](https://help.github.com/en/articles/licensing-a-repository): > You're under no obligation to...

help wanted