mirror of
https://github.com/iconify/iconify.git
synced 2025-01-22 14:48:24 +00:00
Publish next version of SVG framework, update utils
This commit is contained in:
parent
3030471fd2
commit
3f2e7a181d
@ -21,13 +21,13 @@ Iconify SVG framework is designed to be as easy to use as possible.
|
|||||||
Add this line to your page to load Iconify SVG framework (you can add it to `<head>` section of the page or before `</body>`):
|
Add this line to your page to load Iconify SVG framework (you can add it to `<head>` section of the page or before `</body>`):
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://code.iconify.design/2/2.2.1/iconify.min.js"></script>
|
<script src="https://code.iconify.design/2/3.0.0-beta.1/iconify.min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@2.2.1/dist/iconify.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@3.0.0-beta.1/dist/iconify.min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
or, if you are building a project with something like WebPack or Rollup, you can include the script by installing `@iconify/iconify` as a dependency and importing it in your project:
|
or, if you are building a project with something like WebPack or Rollup, you can include the script by installing `@iconify/iconify` as a dependency and importing it in your project:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "@iconify/iconify",
|
"name": "@iconify/iconify",
|
||||||
"description": "Unified SVG framework with over 100,000 icons to choose from",
|
"description": "Unified SVG framework with over 100,000 icons to choose from",
|
||||||
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
|
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
|
||||||
"version": "2.2.1",
|
"version": "3.0.0-beta.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/iconify.min.js",
|
"main": "./dist/iconify.min.js",
|
||||||
"types": "./dist/iconify.d.ts",
|
"types": "./dist/iconify.d.ts",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Common functions for working with Iconify icon sets used by various packages.",
|
"description": "Common functions for working with Iconify icon sets used by various packages.",
|
||||||
"author": "Vjacheslav Trushkin",
|
"author": "Vjacheslav Trushkin",
|
||||||
"version": "2.0.0-beta.1",
|
"version": "2.0.0-beta.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": "https://github.com/iconify/iconify/issues",
|
"bugs": "https://github.com/iconify/iconify/issues",
|
||||||
"homepage": "https://iconify.design/",
|
"homepage": "https://iconify.design/",
|
||||||
@ -179,6 +179,10 @@
|
|||||||
"require": "./lib/misc/strings.cjs",
|
"require": "./lib/misc/strings.cjs",
|
||||||
"import": "./lib/misc/strings.mjs"
|
"import": "./lib/misc/strings.mjs"
|
||||||
},
|
},
|
||||||
|
"./lib/misc/objects": {
|
||||||
|
"require": "./lib/misc/objects.cjs",
|
||||||
|
"import": "./lib/misc/objects.mjs"
|
||||||
|
},
|
||||||
"./lib/svg/build": {
|
"./lib/svg/build": {
|
||||||
"require": "./lib/svg/build.cjs",
|
"require": "./lib/svg/build.cjs",
|
||||||
"import": "./lib/svg/build.mjs"
|
"import": "./lib/svg/build.mjs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user