Skip to content

Commit c5e41da

Browse files
committed
fix: move inline script timing to work with nuxt-security, #463
1 parent bb70da1 commit c5e41da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/devtools/src/module-main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if (!window.__NUXT_DEVTOOLS_TIME_METRIC__) {
8787
window.__NUXT_DEVTOOLS_TIME_METRIC__.appInit = Date.now()
8888
\``
8989
config.plugins = config.plugins || []
90-
config.plugins.push(join(runtimeDir, 'nitro/inline'))
90+
config.plugins.unshift(join(runtimeDir, 'nitro/inline'))
9191
})
9292

9393
const {

0 commit comments

Comments
 (0)