From 5a38064dba6e3a9b4b4866bf6040a46601e3c474 Mon Sep 17 00:00:00 2001 From: Andrei Arkhipov Date: Sat, 6 Mar 2021 11:57:50 +0300 Subject: [PATCH] fix: switch to dist dir --- .babelrc | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",