Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@packmule/svelte-pack

2.0.1-nightly.403 • Public • Published

Svelte Pack npm-latest

Handle svelte single-file-component files.

Overview

Setup

Svelte Pack is included in the complete edition.

Current Release

npm install --save-dev @packmule/svelte-pack

Nightly Build

npm install --save-dev @packmule/svelte-pack@nightly

API

SveltePack();

Hints

  • extract - Used to determine if actual CSS files are being created.

Usage

Example

Compile svelte files and embedded languages like TypeScript and Sass.

import Packmule from '@packmule/core';
import SveltePack from '@packmule/svelte-pack';
import SassPack from '@packmule/sass-pack';
import TypeScriptPack from '@packmule/typescript-pack';
 
const packmule = new Packmule();
packmule.add(new SveltePack());
packmule.add(new SassPack());
packmule.add(new TypeScriptPack());
return packmule.generate();

License

MIT


Install

npm i @packmule/[email protected]

Version

2.0.1-nightly.403

License

MIT

Unpacked Size

7.83 kB

Total Files

11

Last publish

Collaborators

  • avatar
  • avatar