@svelterialjs/process

0.0.9 • Public • Published

@svelterialjs/process

Version Documentation Maintenance License: MIT Twitter: TheComputerM

A Svelte preprocessor for Svelterial.

🏠 Homepage

Install

npm i -D @svelterialjs/process

Usage

You can use this method with ANY TOOLING YOU PREFER like rollup, webpack and even vite. Just add it to the preprocess method.

const svelterial = require('@svelterialjs/process');
// OR
import svelterial from '@svelterialjs/process';

{
  svelte({
    preprocess: [..., svelterial({ your_config })]
  })
}

Example: Rollup

import svelte from 'rollup-plugin-svelte';
import svelterial from '@svelterialjs/process';

export default {
  plugins: [
    svelte({
      preprocess: svelterial({ your_config }),
    }),
  ],
};

Author

👤 TheComputerM

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 TheComputerM.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

Package Sidebar

Install

npm i @svelterialjs/process

Weekly Downloads

1

Version

0.0.9

License

MIT

Unpacked Size

120 kB

Total Files

8

Last publish

Collaborators

  • thecomputerm