raintee-maputils 1.0.4 → 1.0.7

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/index.js +9 -9
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import CustomOptionsControl from './src/CustomOptionsControl';
2
- import CustomToggleControl from './src/CustomToggleControl';
3
- import RainteeConstants from './src/RainteeConstants';
4
- import RainteeGISUtil from './src/RainteeGISUtil';
5
- import RainteeSourceMapTool from './src/RainteeSourceMapTool';
6
- import RasterLayerController from './src/RasterLayerController';
7
- import TerrainToggleControl from './src/TerrainToggleControl';
8
- import useDrawCache from './src/useDrawCache';
1
+ import * as CustomOptionsControl from './src/CustomOptionsControl.js';
2
+ import * as CustomToggleControl from './src/CustomToggleControl.js';
3
+ import * as RainteeConstants from './src/RainteeConstants.js';
4
+ import * as RainteeGISUtil from './src/RainteeGISUtil.js';
5
+ import * as RainteeSourceMapTool from './src/RainteeSourceMapTool.js';
6
+ import * as RasterLayerController from './src/RasterLayerController.js';
7
+ import * as TerrainToggleControl from './src/TerrainToggleControl.js';
8
+ import * as useDrawCache from './src/useDrawCache.js';
9
9
 
10
- export default {
10
+ export {
11
11
  RainteeConstants,
12
12
  RainteeGISUtil,
13
13
  RainteeSourceMapTool,
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "raintee-maputils",
3
- "version": "1.0.4",
3
+ "version": "1.0.7",
4
4
  "description": "Raintee的GIS开发工具包",
5
5
  "main": "index.js",
6
+ "module": "index.js",
6
7
  "type": "module",
7
8
  "bin": {
8
9
  "raintee-maputils": "index.js"