@svelterialjs/process
v0.0.9
Published
A Svelte preprocessor for Svelterial.
Downloads
2
Maintainers
Readme
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
- Twitter: @TheComputerM
- Github: @ThComputerM
🤝 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