Skip to content

Commit

Permalink
🚚 scripts -> js, styles -> css
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Dec 8, 2024
1 parent ddf413e commit e0c5168
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions app/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/
add_filter('wp_head', function () {
echo Str::wrap(app('assets.vite')([
'resources/styles/app.css',
'resources/scripts/app.js',
'resources/css/app.css',
'resources/js/app.js',
]), "\n");
});

Expand All @@ -43,8 +43,8 @@
}

echo Str::wrap(app('assets.vite')([
'resources/styles/editor.css',
'resources/scripts/editor.js',
'resources/css/editor.css',
'resources/js/editor.js',
]), "\n");
});

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import {
wordpressPlugin,
wordpressRollupPlugin,
wordPressThemeJson,
} from './resources/scripts/build/wordpress'
} from './resources/js/build/wordpress'
import tailwindConfig from './tailwind.config.js'

export default defineConfig({
plugins: [
laravel({
input: [
'resources/styles/app.css',
'resources/scripts/app.js',
'resources/styles/editor.css',
'resources/scripts/editor.js',
'resources/css/app.css',
'resources/js/app.js',
'resources/css/editor.css',
'resources/js/editor.js',
],
refresh: true,
}),
Expand Down

0 comments on commit e0c5168

Please sign in to comment.