@fmdevui/fm-dev 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,8 @@ import { elSvg } from './packages/core/ui/components/svgIcon/index.mjs';
4
4
  const makeInstaller = (components = []) => {
5
5
  const install = (app) => {
6
6
  components.forEach((component) => app.component(component.name, component));
7
- elSvg(app);
7
+ if (app)
8
+ elSvg(app);
8
9
  };
9
10
  return {
10
11
  install
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.12 */
1
+ /*! fm-dev v1.0.13 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib', 'element-plus'], factory) :
@@ -6647,7 +6647,8 @@
6647
6647
  const makeInstaller = (components = []) => {
6648
6648
  const install = (app) => {
6649
6649
  components.forEach((component) => app.component(component.name, component));
6650
- elSvg(app);
6650
+ if (app)
6651
+ elSvg(app);
6651
6652
  };
6652
6653
  return {
6653
6654
  install