m4-w-fast 1.0.0 → 1.0.1

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.
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # m4文件绘图程序
2
2
 
3
+ ### 更新说明
4
+ - v1.0.1: 修复了安装在vite环境打包时woker不正常工作的问题
5
+
3
6
  ### 使用
4
7
 
5
8
  1. 安装这个库
@@ -52,8 +55,8 @@ import * as L from 'leaflet'
52
55
  import 'leaflet/dist/leaflet.css'
53
56
  import ReadFileM4Fast from 'm4-w-fast'
54
57
  import { getIsoWorkerUrl, getIntersectWorkerUrl } from 'm4-w-fast/worker-urls'
55
- import isoWorkerUrl from 'm4-w-fast/dist/isoBands.worker?url'
56
- import intersectWorkerUrl from 'm4-w-fast/dist/intersect.worker?url'
58
+ import isoWorkerUrl from 'm4-w-fast/isoBands.worker.js?url'
59
+ import intersectWorkerUrl from 'm4-w-fast/intersect.worker.js?url'
57
60
 
58
61
  import geojson from './620000.json'
59
62
  import type { FeatureCollection } from 'geojson'