Skip to content

Commit 1b6033d

Browse files
committed
icons
1 parent 3cbbcbc commit 1b6033d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

template/frontend/nuxt.config.ts.jinja

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ export default defineNuxtConfig({
1515
["@nuxt/eslint", { devOnly: true }],
1616
["@nuxt/test-utils/module", { devOnly: true }],
1717
],
18+
icon: {
19+
provider: "none", // bundle all icons into the build for air-gapped deployments
20+
clientBundle: {
21+
scan: true,
22+
sizeLimitKb: 256, // fail the build if there's somehow more than this amount of icons
23+
},
24+
},
1825
css: ["~/assets/css/main.css"],
1926
experimental: { appManifest: false }, // https://github.com/nuxt/nuxt/issues/30461#issuecomment-2572616714{% endraw %}{% if has_backend and not deploy_as_executable %}{% raw %}
2027
nitro: {

0 commit comments

Comments
 (0)