✨ Use @roots/vite-plugin (#3231)
Co-authored-by: Brandon <brandon@tendency.me>
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import laravel from 'laravel-vite-plugin'
|
||||
import {
|
||||
wordpressPlugin,
|
||||
wordpressRollupPlugin,
|
||||
wordpressThemeJson,
|
||||
} from './resources/js/build/wordpress'
|
||||
import { wordpressPlugin, wordpressThemeJson } from '@roots/vite-plugin';
|
||||
|
||||
export default defineConfig({
|
||||
base: '/app/themes/sage/public/build/',
|
||||
@@ -22,7 +18,6 @@ export default defineConfig({
|
||||
}),
|
||||
|
||||
wordpressPlugin(),
|
||||
wordpressRollupPlugin(),
|
||||
|
||||
// Generate the theme.json file in the public/build/assets directory
|
||||
// based on the Tailwind config and the theme.json file from base theme folder
|
||||
|
||||
Reference in New Issue
Block a user