Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

PaulMaly/svelte-ts-preprocess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

npm i svelte-ts-preprocess

Rollup config

importsveltefrom"rollup-plugin-svelte";importresolvefrom"rollup-plugin-node-resolve";importcommonjsfrom"rollup-plugin-commonjs";import{terser}from"rollup-plugin-terser";import{preprocess}from"svelte-ts-preprocess";constproduction=!process.env.ROLLUP_WATCH;exportdefault{input:"src/main.js",output:{sourcemap:true,format:"iife",name:"app",file:"public/bundle.js"},plugins:[svelte({// enable run-time checks when not in productiondev:!production,// we'll extract any component CSS out into// a separate file — better for performancecss:css=>{css.write("public/bundle.css");},preprocess:preprocess()}),// If you have external dependencies installed from// npm, you'll most likely need these plugins. In// some cases you'll need additional configuration —// consult the documentation for details:// https://github.com/rollup/rollup-plugin-commonjsresolve(),commonjs(),// If we're building for production (npm run build// instead of npm run dev), minifyproduction&&terser()]};

Quick starter template

svelte-ts-template

Typings

svelte-types

For Contributors

To install this monorepo you can uselerna + npm

cd svelte-ts-preprocessnpm i lerna -glerna bootstrap

orlerna + yarn seeuse workspaces

cd svelte-ts-preprocessyarn i lerna -glerna bootstrap --use-workspaces

oryarn only

cd svelte-ts-preprocessyarn install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp