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