Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 1f43cdf

Browse files
daviouswesleycho
authored andcommitted
chore(build): properly prefix module dependencies
- Fixes module dependencies for `ui.bootstrap.tpls` Closes #4842
1 parent f68a7e0 commit 1f43cdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Gruntfile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ module.exports = function(grunt) {
221221
function enquote(str) {
222222
return '"' + str + '"';
223223
}
224+
function enquoteUibDir(str) {
225+
return enquote('uib/' + str);
226+
}
224227

225228
var module = {
226229
name: name,
@@ -230,7 +233,7 @@ module.exports = function(grunt) {
230233
cssFiles: grunt.file.expand('src/'+name+'/*.css'),
231234
tplFiles: grunt.file.expand('template/'+name+'/*.html'),
232235
tpljsFiles: grunt.file.expand('template/'+name+'/*.html.js'),
233-
tplModules: grunt.file.expand('template/'+name+'/*.html').map(enquote),
236+
tplModules: grunt.file.expand('template/'+name+'/*.html').map(enquoteUibDir),
234237
dependencies: dependenciesForModule(name),
235238
docs: {
236239
md: grunt.file.expand('src/'+name+'/docs/*.md')

0 commit comments

Comments
 (0)