Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for webpack #79

Open
quantuminformation opened this issue Oct 15, 2019 · 1 comment
Open

Docs for webpack #79

quantuminformation opened this issue Oct 15, 2019 · 1 comment

Comments

@quantuminformation
Copy link

No description provided.

@LukasHechenberger
Copy link
Contributor

I'm personally not using webpack, but it isn't that complicated to setup. You may want to have a look at svelte-loaders readme to see how to pass options, or Issue #3 of svelte-preprocess-sass, which describes exactly what you wanna know, just replace sass with less:

Untested example

// webpack.config.js
import { less } from 'svelte-preprocess-less'
... 
// inside module.rules 
use: {
  loader: 'svelte-loader',
  options: {
    // other options, like hydratable...
    preprocess: {
      style: sass(),
    },
  },
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants