diff --git a/.babelrc b/.babelrc index 8aa578b..8d40400 100644 --- a/.babelrc +++ b/.babelrc @@ -1,7 +1,7 @@ { "presets": [ "@babel/preset-env", - "@babel/react" + "@babel/preset-react" ], "plugins": [ "@babel/plugin-proposal-class-properties" diff --git a/package.json b/package.json index 71f5f1a..164689a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "react-promise-loader", "version": "1.1.0", "description": "This is a NPM package with a component for React that will help you display the loader at use react-promise-tracker", - "main": "./src/index.js", + "main": "./dist/index.js", "scripts": { "build": "webpack --mode production", "lint": "eslint --report-unused-disable-directives src",