Skip to content

Commit

Permalink
test: change assets-runtime-base outDir to different one (#18727)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Nov 21, 2024
1 parent c2b7529 commit d5e7db0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('css url() references', () => {
describe.runIf(isBuild)('index.css URLs', () => {
let css: string
beforeAll(() => {
css = findAssetFile(/index-[-\w]{8}\.css$/, '', 'other-assets')
css = findAssetFile(/index-[-\w]{8}\.css$/, 'runtime-base', 'other-assets')
})

test('relative asset URL', () => {
Expand Down
2 changes: 1 addition & 1 deletion playground/assets/vite.config-runtime-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
base: './', // overwrite the original base: '/foo/'
build: {
...baseConfig.build,
outDir: 'dist',
outDir: 'dist/runtime-base',
watch: null,
minify: false,
assetsInlineLimit: 0,
Expand Down

0 comments on commit d5e7db0

Please sign in to comment.