feat: добавить серверную генерацию спрайтов

This commit is contained in:
2026-07-16 09:14:11 +03:00
parent e9ae91815a
commit 57342fae4e
379 changed files with 3108 additions and 655 deletions

View File

@@ -0,0 +1,13 @@
const sourceOrigin = process.env.SVG_SPRITE_SOURCE_ORIGIN
if (!sourceOrigin) throw new Error('SVG_SPRITE_SOURCE_ORIGIN is required.')
export default {
mode: 'standalone@server',
name: 'remote-app',
input: [
'../../../../fixtures/icons/duotone.svg',
{ name: 'check', url: `${sourceOrigin}/sources/check.svg` },
],
generatedNotice: false,
}