Adding assets to build process using vite #6662
Unanswered
jaspercjc
asked this question in
Troubleshooting
Replies: 3 comments
-
Got bogged here myself. @jaspercjc did you ever figure it out? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am also in the same boat. Can't figure out the vite config for the same actions. I think the docs need updating. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Vite looks like a bit of a different beast at the moment. I'd say we don't support it just yet, and you should continue to use webpack. There is now a feature request open on the ideas repo where you can follow along. statamic/ideas#876 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to create a custom fieldtype, following the docs but got blocked on this part.
How do I implement or convert
mix.js('resources/js/cp.js', 'public/vendor/app/js') .sass('resources/sass/cp.scss', 'public/vendor/app/css');
to vite equivalent?
Beta Was this translation helpful? Give feedback.
All reactions