{
    "version": "2.0.0",
    "tasks": [
        // {
        //     "label": "build",
        //     "command": "webpack --config webpack/webpack.prod.js",
        //     "type": "shell",
        //     "group": { "kind": "build", "isDefault": true },
        //     "isBackground": true
        // },
          
        {
            "type": "npm",
            "label": "webpack: dev server",
            "script": "dev",
            "promptOnClose": true,
            "isBackground": true,
            "problemMatcher": {
              "owner": "webpack",
              "severity": "error",
              "fileLocation": "absolute",
              "pattern": [
                {
                  "regexp": "ERROR in (.*)",
                  "file": 1
                },
                {
                  "regexp": "\\((\\d+),(\\d+)\\):(.*)",
                  "line": 1,
                  "column": 2,
                  "message": 3
                }
              ],
              "background": {
                "activeOnStart": true,
                "beginsPattern": "Compiling\\.\\.\\.",
                "endsPattern": "Compiled successfully\\."
              }
            }
          }        
    ]
}
