diff --git a/package.json b/package.json index 2e55e0c..834e8c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-in-viewport", - "version": "1.0.0-alpha.25", + "version": "1.0.0-alpha.26", "description": "Track React component in viewport using Intersection Observer API", "author": "Roderick Hsiao ", "license": "MIT", diff --git a/tsconfig.json b/tsconfig.json index ecd74b5..27bc70b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "esModuleInterop": true, "isolatedModules": true, "jsx": "react-jsx", - "module": "ESNext", + "module": "commonjs", "moduleResolution": "node", "noEmit": false, "outDir": "dist/types",