console.log('test');import JSConfetti from 'js-confetti';const jsConfetti = new JSConfetti();window.jsConfetti = jsConfetti;console.log('jsConfetti is set', window.jsConfetti);
console.log('test');import JSConfetti from 'js-confetti';const jsConfetti = new JSConfetti();window.jsConfetti = jsConfetti;console.log('jsConfetti is set', window.jsConfetti);
I've run npm run build, but I don't even get the simple "test" message from the console.log statement in app.js. It almost seems like vite isn't loading the app.js file at all. I should at the very least see the "test" message from app.js, right?
I upgraded the laravel-vite plugin to 1.0.1 and upgraded vite to 5.0.0, but that hasn't resolved it either. I've cleared the cache and hard refreshed. I've verified that jsConfetti is in my node_modules folder.
Also, I see no app.js in my sources in dev tools, which I'm thinking should be in the js folder?