diff --git a/package.json b/package.json index 27c347962e..efcb7ab442 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "awx-react", "version": "1.0.0", "description": "", - "main": "index.js", + "main": "index.jsx", "scripts": { "start": "webpack-dev-server --config ./webpack.config.js --mode development", "test": "jest --watchAll --coverage", diff --git a/webpack.config.js b/webpack.config.js index 85ec59d7bb..3b53ccc8d6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ const TARGET_PORT = 8043; const TARGET = `https://localhost:${TARGET_PORT}`; module.exports = { - entry: './src/index.js', + entry: './src/index.jsx', module: { rules: [ {