tasks.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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: prod server",
  36. "script": "prod",
  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. "type": "npm",
  64. "label": "webpack: build",
  65. "script": "build",
  66. "promptOnClose": true,
  67. "isBackground": true,
  68. "problemMatcher": {
  69. "owner": "webpack",
  70. "severity": "error",
  71. "fileLocation": "absolute",
  72. "pattern": [
  73. {
  74. "regexp": "ERROR in (.*)",
  75. "file": 1
  76. },
  77. {
  78. "regexp": "\\((\\d+),(\\d+)\\):(.*)",
  79. "line": 1,
  80. "column": 2,
  81. "message": 3
  82. }
  83. ],
  84. "background": {
  85. "activeOnStart": true,
  86. "beginsPattern": "Compiling\\.\\.\\.",
  87. "endsPattern": "Compiled successfully\\."
  88. }
  89. }
  90. }
  91. ]
  92. }