update webpack and package.json with index.jsx entrypoint

This commit is contained in:
John Mitchell
2018-10-24 21:55:59 -04:00
parent 1caa5b1c54
commit 05d72ae8cf
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
"name": "awx-react", "name": "awx-react",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "index.jsx",
"scripts": { "scripts": {
"start": "webpack-dev-server --config ./webpack.config.js --mode development", "start": "webpack-dev-server --config ./webpack.config.js --mode development",
"test": "jest --watchAll --coverage", "test": "jest --watchAll --coverage",

View File

@@ -4,7 +4,7 @@ const TARGET_PORT = 8043;
const TARGET = `https://localhost:${TARGET_PORT}`; const TARGET = `https://localhost:${TARGET_PORT}`;
module.exports = { module.exports = {
entry: './src/index.js', entry: './src/index.jsx',
module: { module: {
rules: [ rules: [
{ {