Compare commits

...
2 Commits
Author SHA1 Message Date
Adam Bradley f57e4988b0 4.6.3 2019-08-20 22:22:30 -05:00
Simon Hänisch 0df64cf8b8 fix: default export a function in global script (#720) 2019-08-20 22:21:15 -05:00
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "ionicons",
"version": "4.6.2",
"version": "4.6.3",
"description": "Premium icons for Ionic.",
"files": [
"dist/",
@@ -13,7 +13,7 @@
"collection": "dist/collection/collection-manifest.json",
"collection:main": "dist/collection/index.js",
"scripts": {
"build": "npm run lint.ts && npm run build.icon && npm run generate && npm run build.css && npm run copy.tasks && npm run test && npm run build.data",
"build": "npm run lint.ts && npm run build.data && npm run build.icon && npm run generate && npm run build.css && npm run copy.tasks && npm run test",
"build.css": "node scripts/build-css.js",
"build.data": "node scripts/data.js",
"build.icon": "stencil build",
@@ -32,7 +32,7 @@
"test": "stencil test --spec"
},
"devDependencies": {
"@stencil/core": "1.1.6",
"@stencil/core": "1.3.0",
"@stencil/sass": "^1.0.1",
"@types/highlight.js": "^9.12.3",
"@types/jest": "24.0.13",
+3 -1
View File
@@ -1,3 +1,5 @@
import { setMode } from '@stencil/core';
setMode((el: any) => el.tagName === 'ION-ICON' ? el.mode || el.getAttribute('mode') : null);
export default () => {
setMode((el: any) => el.tagName === 'ION-ICON' ? el.mode || el.getAttribute('mode') : null);
};