Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Custom bootstrap #50

Open
matodrobec opened this issue Jun 19, 2015 · 1 comment
Open

Custom bootstrap #50

matodrobec opened this issue Jun 19, 2015 · 1 comment

Comments

@matodrobec
Copy link

I would like to use grunt-bower-concat to build custom vendor javascript file but I am always get error:

> grunt bower_concat
Running "bower_concat:js" (bower_concat) task
Fatal error: Arguments to path.join must be strings

My grunt config is:

bower_concat: {
      js: {
        options: {
          separator : ';'
        },
        dest: 'js/vendor.js',
        dependencies: {
          'bootstrap': 'jquery'
        },
        include: [
          'jquery',
          'bootstrap'
        ],
        mainFiles: {
          bootstrap: [
            "js/transition.js",
            .......
          ]
        }
      }
    }

Everithing is fine when I am commented mainFiles.bootstrap.

@fagnercarvalho
Copy link

Did you try adding quotation marks in bootstrap?

        mainFiles: {
          'bootstrap': [
            "js/transition.js",
            .......
          ]
        }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants