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

Commit 3a6eb89

Browse files
committed
fixed string-replace settings in Grunfile.js
1 parent ff1c86a commit 3a6eb89

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Gruntfile.js

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,20 +137,26 @@ module.exports = function(grunt) {
137137
}
138138
},
139139
'string-replace': {
140-
options: {
141-
replacements: [{
142-
pattern: '<script src="sqlite-parser-demo-min.js"></script>',
143-
replacement: '<script src="sqlite-parser-demo.js"></script>'
144-
}]
145-
},
146140
demo: {
147141
files: {
148142
'demo/index.html': 'demo/index.html'
143+
},
144+
options: {
145+
replacements: [{
146+
pattern: '<script src="sqlite-parser-demo.js"></script>',
147+
replacement: '<script src="sqlite-parser-demo-min.js"></script>'
148+
}]
149149
}
150150
},
151151
interactive: {
152152
files: {
153153
'demo/index.html': 'demo/index.html'
154+
},
155+
options: {
156+
replacements: [{
157+
pattern: '<script src="sqlite-parser-demo-min.js"></script>',
158+
replacement: '<script src="sqlite-parser-demo.js"></script>'
159+
}]
154160
}
155161
}
156162
}

0 commit comments

Comments
 (0)