-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Description
I just have a quick question. I recently went back to using Jigsaw again, and it looks like it now uses Vite for compiling assets. I was wondering if there’s a way to change where the compiled assets are output.
For example, I usually keep my development assets in resources/js/app.js and resources/scss/screen.scss with a configuration like this:
import jigsaw from '@tighten/jigsaw-vite-plugin';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
jigsaw({
input: [
'resources/js/app.js',
'resources/scss/screen.scss'
],
refresh: true,
}),
],
});
When I run npm run dev or npm run watch, the compiled files are generated in source/assets/build. Is it possible to change the output directory to public/assets/build instead? I have a structure I prefer to maintain.
I have this in my config.php file
<?php
return [
'build' => [
'source' => 'public'
],
];
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels