diff --git a/common/tsconfig/react-library.json b/common/tsconfig/react-library.json index 6747da9..e8672b8 100644 --- a/common/tsconfig/react-library.json +++ b/common/tsconfig/react-library.json @@ -5,7 +5,7 @@ "compilerOptions": { "jsx": "react-jsx", "lib": ["es2015", "dom"], - "module": "ESNext", - "target": "es6" + "module": "commonjs", + "target": "ESNext" } } diff --git a/lib/package.json b/lib/package.json index 024e2c4..5f3af23 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,10 +1,8 @@ { "name": "@unleash/nextjs", - "version": "0.0.5", + "version": "0.0.6", "description": "Unleash SDK for Next.js", - "type": "module", "main": "dist/index.js", - "module": "dist/index.js", "types": "dist/index.d.ts", "license": "Apache-2.0", "files": [