mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-22 04:40:17 +03:00
feat: добавить серверную генерацию спрайтов
This commit is contained in:
@@ -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,
|
||||
}
|
||||
Reference in New Issue
Block a user