Skip to content

Commit 2e6d9a8

Browse files
committed
Fixes package main
1 parent adc3088 commit 2e6d9a8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "react-async-component",
3-
"version": "2.0.0-alpha",
3+
"version": "2.0.0-alpha.0",
44
"description":
55
"Create Components that resolve asynchronously, with support for server side rendering and code splitting.",
66
"license": "MIT",
7-
"main": "commonjs/index.js",
7+
"main": "dist/react-async-component.js",
88
"files": ["index.d.ts", "*.js", "*.md", "dist"],
99
"typings": "./index.d.ts",
1010
"repository": {
@@ -22,8 +22,7 @@
2222
],
2323
"scripts": {
2424
"build": "node ./tools/scripts/build.js",
25-
"clean":
26-
"rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
25+
"clean": "rimraf ./dist && rimraf ./coverage",
2726
"lint": "eslint src",
2827
"precommit": "lint-staged && npm run test",
2928
"prepublish": "npm run build",

0 commit comments

Comments
 (0)