Open camera-2018 opened 1 year ago
The problem is that are several ways to pass the information..
resolve.alias Type:Record<string, string> | Array<{ find: string | RegExp, replacement: string, customResolver?: ResolverFunction | ResolverObject }> Will be passed to @rollup/plugin-alias as its entries option. Can either be an object, or an array of { find, replacement, customResolver } pairs.
I'll try to think of contemplating them all.
When I write
config.vite.resolve.alias
inwithMermaid
I've found they don't work. Because what I write will be turned into ☹
So I've tried to fix them
But they haven't been tested much by me, so please review them carefully!