@tianditu/vue 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -4
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, getCurrentInstance, inject, h, withDirectives } from 'vue';
2
- import { applyPolyfills, defineCustomElements } from '@tianditu/wc/dist/loader';
2
+ import { defineCustomElements } from '@tianditu/wc/dist/loader';
3
3
 
4
4
  const UPDATE_VALUE_EVENT = "update:modelValue";
5
5
  const MODEL_VALUE = "modelValue";
@@ -176,9 +176,7 @@ const TdtMap = /* @__PURE__ */ defineContainer(
176
176
 
177
177
  const ComponentLibrary = {
178
178
  async install() {
179
- applyPolyfills().then(() => {
180
- defineCustomElements();
181
- });
179
+ defineCustomElements();
182
180
  }
183
181
  };
184
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tianditu/vue",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Vue components for tianditu, powered by Demo Macro.",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "homepage": "https://github.com/DemoMacro/tianditu#readme",
31
31
  "devDependencies": {
32
32
  "vue": "3.4.37",
33
- "@tianditu/wc": "0.0.1"
33
+ "@tianditu/wc": "0.0.2"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "unbuild --stub"