fix module config
This commit is contained in:
parent
c9bc13a1c5
commit
d368d9361c
2 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "gpx",
|
"name": "gpx",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "dist/src/index.js",
|
"type": "module",
|
||||||
|
"exports": "./dist/src/index.js",
|
||||||
"types": "dist/src/index.d.ts",
|
"types": "dist/src/index.d.ts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "ES6",
|
"module": "ES2020",
|
||||||
"target": "ES5",
|
"target": "ES2015",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
|
"moduleResolution": "node",
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src",
|
"src",
|
||||||
|
|
Loading…
Reference in a new issue