From 05d72ae8cf72e20bd9dedc62c4173d1b9b898cd1 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Wed, 24 Oct 2018 21:55:59 -0400 Subject: [PATCH] update webpack and package.json with index.jsx entrypoint --- package.json | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: [ {