vite-plugin-salla-watcher
v0.0.5
Published
Watcher plugin to develop Salla themes with Vite.
Downloads
17
Readme
Salla Watcher Vite Plugin
Watcher plugin to develop Salla themes with Vite.
Installation
npm install vite-plugin-salla-watcher --save-dev
yarn add -D vite-plugin-salla-watcher
Usage
import { defineConfig } from 'vite'
import { sallaWatcher } from "vite-plugin-salla-watcher"
export default defineConfig({
plugins: [sallaWatcher()],
})
Then add watch and development script needed by Salla cli
"scripts": {
...
"development": "vite",
"watch": "vite build --watch"
...
},