| @@ -1 +1,2 @@ | |||
| node_modules/ | |||
| node_modules/ | |||
| dist/ | |||
| @@ -4,7 +4,8 @@ | |||
| "description": "", | |||
| "main": "index.js", | |||
| "scripts": { | |||
| "test": "echo \"Error: no test specified\" && exit 1" | |||
| "test": "echo \"Error: no test specified\" && exit 1", | |||
| "build": "webpack" | |||
| }, | |||
| "repository": { | |||
| "type": "git", | |||
| @@ -0,0 +1 @@ | |||
| console.log('hello world') | |||
| @@ -0,0 +1,9 @@ | |||
| const path = require("path"); | |||
| module.exports = { | |||
| mode: "development", | |||
| entry: "./src/index.js", | |||
| output: { | |||
| filename: "main.js", | |||
| path: path.resolve(__dirname,"./dist") | |||
| } | |||
| } | |||