diff --git a/.eslintrc.json b/.eslintrc.json index 0c2febd..50b663b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -35,6 +35,7 @@ "react/require-default-props": 0, "max-len": "off", "no-useless-return": "off", - "jsx-quotes": ["error","prefer-single"] + "jsx-quotes": ["error","prefer-single"], + "react/jsx-filename-extension": "off" } } diff --git a/package.json b/package.json index 0378d5b..b3fa33c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "scripts": { "build": "yarn build:parcel && yarn build:flow", - "build:parcel": "cross-env NODE_ENV=production parcel build ./src/index.jsx --out-dir ./dist --out-file index.js --target node", + "build:parcel": "cross-env NODE_ENV=production parcel build ./src/index.js --out-dir ./dist --out-file index.js --target node", "build:flow": "flow-copy-source src dist", "commit": "git-cz", "flow": "flow", diff --git a/src/index.jsx b/src/index.js similarity index 100% rename from src/index.jsx rename to src/index.js