Socket
Book a DemoInstallSign in
Socket

@tighten/jigsaw-vite-plugin

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tighten/jigsaw-vite-plugin

Jigsaw plugin for Vite.

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
104
-14.75%
Maintainers
8
Weekly downloads
 
Created
Source

Jigsaw Vite Plugin

MIT License

@tighten/jigsaw-vite-plugin is a Vite plugin for the Jigsaw static site generator. It watches your Jigsaw site's files and triggers a new build when it detects changes.

You'll want to ensure you are in Jigsaw version 1.8.0 or later before installing this plugin.

Installation

npm install -D @tighten/jigsaw-vite-plugin

Usage

Make sure the head of your layouts/main.blade.php file:

@viteRefresh()
<link rel="stylesheet" href="{{ vite('source/_assets/css/main.css') }}">
<script defer type="module" src="{{ vite('source/_assets/js/main.js') }}"></script>

Add the plugin to your vite.config.js file:

import { defineConfig } from 'vite';
import jigsaw from '@tighten/jigsaw-vite-plugin';

export default defineConfig({
    plugins: [
        jigsaw({
            input: ['source/_assets/js/main.js', 'source/_assets/css/main.css'],
            refresh: true,
        }),
    ],
});

Credits

Huge thanks to the vite-plugin-full-reload and laravel-vite-plugin

License

Jigsaw Vite Plugin is provided under the MIT License.

Keywords

jigsaw

FAQs

Package last updated on 13 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.