Skip to content

DTK0035: Build Injection Requires Assets

Message

build.injection requires build.withApp: true.

Cause

build.injection is enabled, but build.withApp is disabled.

Example

ts
export default defineConfig({
  devtools: {
    build: {
      injection: true,
    },
  },
})

Fix

Set devtools.build.withApp: true.

Source

Released under the MIT License.