Closed JeromeDeLeon closed 2 years ago
I am also getting this same error. Any idea why it's happening?
Turns out this is because assetsBase
defaults to assets
. If you manually set this to an empty string it fixes the issue.
assetsBase : ''
Hmm, what's the point of assetsBase
if we couldn't override it aside from setting it an empty string, I wonder? 🤔
Your guess is as good as mine. I think the default should be the empty string.
I was able to make it work after I put the same value as the one we use for build.assetsDir
.
I'm getting an error below for
vite:build-import-analysis
when using this package with vite@2.7.13I just followed the sample demo