tasks.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "type": "npm",
  6. "label": "webpack: dev server",
  7. "script": "dev",
  8. "promptOnClose": true,
  9. "isBackground": true,
  10. "problemMatcher": {
  11. "owner": "webpack",
  12. "severity": "error",
  13. "fileLocation": "absolute",
  14. "pattern": [
  15. {
  16. "regexp": "ERROR in (.*)",
  17. "file": 1
  18. },
  19. {
  20. "regexp": "\\((\\d+),(\\d+)\\):(.*)",
  21. "line": 1,
  22. "column": 2,
  23. "message": 3
  24. }
  25. ],
  26. "background": {
  27. "activeOnStart": true,
  28. "beginsPattern": "Compiling\\.\\.\\.",
  29. "endsPattern": "Compiled successfully\\."
  30. }
  31. }
  32. },
  33. {
  34. "type": "npm",
  35. "label": "webpack: build",
  36. "script": "build",
  37. "promptOnClose": true,
  38. "isBackground": true,
  39. "problemMatcher": {
  40. "owner": "webpack",
  41. "severity": "error",
  42. "fileLocation": "absolute",
  43. "pattern": [
  44. {
  45. "regexp": "ERROR in (.*)",
  46. "file": 1
  47. },
  48. {
  49. "regexp": "\\((\\d+),(\\d+)\\):(.*)",
  50. "line": 1,
  51. "column": 2,
  52. "message": 3
  53. }
  54. ],
  55. "background": {
  56. "activeOnStart": true,
  57. "beginsPattern": "Compiling\\.\\.\\.",
  58. "endsPattern": "Compiled successfully\\."
  59. }
  60. }
  61. }
  62. ]
  63. }