Skip to content

Commit c440dac

Browse files
committed
change build
1 parent f2a34a6 commit c440dac

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@
22
"name": "@openglobus/openglobus-react",
33
"version": "0.1.0",
44
"description": "Openglobus React Components",
5-
"main": "./dist/index.umd.js",
5+
"main": "./dist/index.umd.cjs",
66
"private": false,
7-
"module": "./dist/index.mjs",
8-
"types": "./dist/index.d.ts",
7+
"module": "./dist/index.js",
8+
"types": "./dist/types/index.d.ts",
99
"type": "module",
1010
"files": [
1111
"dist"
1212
],
1313
"scripts": {
1414
"dev": "vite",
1515
"test": "echo \"Error: no test specified\" && exit 1",
16-
"build": "vite build && tsc",
16+
"build": "vite build",
1717
"build:watch": "vite build --watch && tsc",
1818
"storybook": "storybook dev -p 6006",
1919
"build-storybook": "storybook build"
2020
},
2121
"keywords": [
2222
"3d",
2323
"react",
24+
"react-components",
2425
"openglobus",
2526
"gis"
2627
],

src/layer/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
export * from './GeoImage/GeoImage'
2+
export * from './GeoVideo/GeoVideo'
3+
export * from './XYZ/XYZ'
14
export * from './Layer/Layer'
25
export * from './Vector/Vector'

0 commit comments

Comments
 (0)