diff --git a/package.json b/package.json index c0f9a95..6bdabae 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "type": "git", "url": "https://github.com/storybookjs/testing-library.git" }, - "browser": "dist/index.js", "main": "dist/index.js", "license": "MIT", "scripts": { diff --git a/tsconfig.json b/tsconfig.json index 1d6ed24..5cbb194 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "outDir": "./dist/", "noImplicitAny": true, - "module": "es6", + "module": "CommonJS", "target": "es5", "allowJs": true, "moduleResolution": "node",