mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(vite): pass relative url as default base (#6637)
This commit is contained in:
parent
8a28c430b0
commit
385fa6037a
@ -21,6 +21,7 @@ export async function buildClient (ctx: ViteBuildContext) {
|
||||
|
||||
const clientConfig: vite.InlineConfig = vite.mergeConfig(ctx.config, {
|
||||
entry: ctx.entry,
|
||||
base: './',
|
||||
experimental: {
|
||||
renderBuiltUrl: (filename, { type, hostType }) => {
|
||||
if (hostType !== 'js' || type === 'asset') {
|
||||
|
Loading…
Reference in New Issue
Block a user