react app start
parent
951f495f44
commit
372b93c780
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "ps-redux",
|
"name": "ps-redux",
|
||||||
"description": "React and Redux Pluralsight course by Cory House",
|
"description": "React and Redux Pluralsight course by Cory House",
|
||||||
"scripts": {},
|
"scripts": {
|
||||||
|
"start": "webpack-dev-server --config webpack.config.dev.js --port 3000"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bootstrap": "4.3.1",
|
"bootstrap": "4.3.1",
|
||||||
"immer": "2.1.3",
|
"immer": "2.1.3",
|
||||||
|
@ -50,5 +52,10 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
|
},
|
||||||
|
"babel": {
|
||||||
|
"presets": [
|
||||||
|
"babel-preset-react-app"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,12 +2,12 @@ const webpack = require("webpack");
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||||
|
|
||||||
process.env.NODE_ENV = "developent";
|
process.env.NODE_ENV = "development";
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
node: "development",
|
mode: "development",
|
||||||
target: "web",
|
target: "web",
|
||||||
devTools: "cheap-module-source-map",
|
devtool: "cheap-module-source-map",
|
||||||
entry: "./src/index",
|
entry: "./src/index",
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, "build"),
|
path: path.resolve(__dirname, "build"),
|
||||||
|
|
Loading…
Reference in New Issue