Skip to content
This repository was archived by the owner on Feb 18, 2021. It is now read-only.

Commit bb7cf16

Browse files
committed
tools/Gruntfile.js updated
add manual load plugin grunt-connect-proxy
1 parent 0800d1d commit bb7cf16

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tools/Gruntfile.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ module.exports = function(grunt) {
6060

6161
} else if(target === 'syncProxy') {
6262

63+
grunt.loadNpmTasks('grunt-connect-proxy');
64+
6365
return grunt.task.run([
6466
'build:dev',
6567
'configureProxies',
@@ -69,6 +71,8 @@ module.exports = function(grunt) {
6971

7072
} else if(target === 'proxy') {
7173

74+
grunt.loadNpmTasks('grunt-connect-proxy');
75+
7276
return grunt.task.run([
7377
'build:dev',
7478
'configureProxies',
@@ -96,6 +100,8 @@ module.exports = function(grunt) {
96100

97101
} else if(target === 'syncProxy') {
98102

103+
grunt.loadNpmTasks('grunt-connect-proxy');
104+
99105
return grunt.task.run([
100106
'build:prod',
101107
'configureProxies',
@@ -104,6 +110,8 @@ module.exports = function(grunt) {
104110

105111
} else if(target === 'proxy') {
106112

113+
grunt.loadNpmTasks('grunt-connect-proxy');
114+
107115
return grunt.task.run([
108116
'build:prod',
109117
'configureProxies',

0 commit comments

Comments
 (0)