svelte-preprocess-loader

1.0.0 • Public • Published

svelte-loader

Build Status

A webpack loader for svelte components preprocessing.

Usage

Configure inside your webpack.config.js:

  ...
  module: {
    rules: [
      ...
      {
        test: /\.(html|svelte)$/,
        exclude: /node_modules/,
        use: 'svelte-preprocess-loader'
      }
      ...
    ]
  }
  ...

Check out the example project.

License

MIT

Package Sidebar

Install

npm i svelte-preprocess-loader

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • esarbanis