aos
aos copied to clipboard
unable to build app with aos (dev server working)
I can get the development server working fine but run into issues when I try deploying the site on Vercel
This is:
- Bug
Specifications
- AOS version: 2.3.4
- OS: Windows 10 Home
- Browser: Firefox
Expected Behavior
npm run build should be successful
Actual Behavior
app fails at build time
Steps to Reproduce the Problem
- Create a react typescript app with Vite and tailwind
- add your tailwind.css file to /styles/
- Implement aos and go to deploy on vercel, the log will throw an error shown below.

Detailed Description
Possible Solution
well it clearly says on 12:46:27.99 that you need to add type=module to the script tag