2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-19 16:59:02 +00:00

Merge branch 'master' into next

This commit is contained in:
Vjacheslav Trushkin 2022-03-14 15:52:52 +02:00
commit a3f57cfcf9
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ const config = [
format: 'esm',
},
],
external: ['@glimmer/component', '@glimmer/tracking'],
external: ['@ember/template', '@glimmer/component', '@glimmer/tracking'],
plugins: [
resolve({
browser: true,

View File

@ -1,3 +1,5 @@
// @ts-ignore
import { htmlSafe } from '@ember/template';
import type { IconifyIcon } from '@iconify/types';
import type { FullIconCustomisations } from '@iconify/utils/lib/customisations';
import {
@ -124,7 +126,7 @@ export const render = (
return {
...item.attributes,
style: style === '' ? void 0 : style,
style: style === '' ? void 0 : htmlSafe(style),
className,
body,
};