- Installed webpack and webpack-cli - Added a start script in package.json which calls webpack - Made an index.js file, which is the file webpack looks for by default - Webpack spits out our code in dist/main.js by default - Currently our main app code has nothing to do with webpack, but it will soon
18 lines
284 B
JSON
18 lines
284 B
JSON
{
|
|
"name": "code",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "webpack"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"webpack": "^4.29.6",
|
|
"webpack-cli": "^3.2.3"
|
|
}
|
|
}
|