We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e978458 commit aed6fbeCopy full SHA for aed6fbe
packages/vite/src/vite.ts
@@ -155,7 +155,7 @@ export default function VitePluginVueDevTools(options?: VitePluginVueDevToolsOpt
155
&& (
156
(typeof appendTo === 'string' && filename.endsWith(appendTo))
157
|| (appendTo instanceof RegExp && appendTo.test(filename))))
158
- code = `${code}\nimport 'virtual:vue-devtools-path:overlay.js'`
+ code = `import 'virtual:vue-devtools-path:overlay.js';\n${code}`
159
160
return code
161
},
0 commit comments