Skip to content

Commit 3294a61

Browse files
committed
chore: update enforce
1 parent 91598e8 commit 3294a61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/src/htmlPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function createPlugin(userOptions: UserOptions = {}): Plugin {
2525

2626
return {
2727
name: 'vite:html',
28-
// enforce: 'pre',
28+
enforce: 'pre',
2929
configResolved(resolvedConfig) {
3030
viteConfig = resolvedConfig
3131
env = loadEnv(viteConfig.mode, viteConfig.root, '')

packages/playground/basic/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { createApp } from 'vue'
22
import App from './App.vue'
3-
import { createRouter, createWebHistory } from 'vue-router'
3+
import { createRouter, createWebHashHistory } from 'vue-router'
44

55
const router = createRouter({
6-
history: createWebHistory(),
6+
history: createWebHashHistory(),
77
routes: [
88
{
99
path: '/test',

0 commit comments

Comments
 (0)