{"action":"created","issue":{"url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/367","labels_url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/367/comments","events_url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/367/events","html_url":"https://github.com/jmreidy/grunt-browserify/issues/367","id":119773992,"number":367,"title":"How do I pass arguments to a transform?","user":{"login":"alexjking","id":3001316,"avatar_url":"https://avatars.githubusercontent.com/u/3001316?v=3","gravatar_id":"","url":"https://api.github.com/users/alexjking","html_url":"https://github.com/alexjking","followers_url":"https://api.github.com/users/alexjking/followers","following_url":"https://api.github.com/users/alexjking/following{/other_user}","gists_url":"https://api.github.com/users/alexjking/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjking/subscriptions","organizations_url":"https://api.github.com/users/alexjking/orgs","repos_url":"https://api.github.com/users/alexjking/repos","events_url":"https://api.github.com/users/alexjking/events{/privacy}","received_events_url":"https://api.github.com/users/alexjking/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-01T18:02:19Z","updated_at":"2015-12-01T18:08:42Z","closed_at":"2015-12-01T18:08:42Z","body":"I am trying to achieve `browserify -t [ hbsfy -t ] main.js > bundle.js`. I would like to pass the option `-t` or `--transform` to the hbsfy transform.\r\n\r\nMy current Grunt code is:\r\n```javascript\r\ngrunt.initConfig({\r\n  browserify: {\r\n   build: {\r\n    src: 'src/js/app.js',\r\n    dest: 'app.js',\r\n    options: {\r\n      transform: ['browserify-shim', 'hbsfy'],\r\n      browserifyOptions: {\r\n        debug: true,\r\n      },\r\n    },\r\n  },\r\n});\r\n```\r\n\r\nHow do I pass `-t` to the hbsfy transform?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/comments/161050542","html_url":"https://github.com/jmreidy/grunt-browserify/issues/367#issuecomment-161050542","issue_url":"https://api.github.com/repos/jmreidy/grunt-browserify/issues/367","id":161050542,"user":{"login":"alexjking","id":3001316,"avatar_url":"https://avatars.githubusercontent.com/u/3001316?v=3","gravatar_id":"","url":"https://api.github.com/users/alexjking","html_url":"https://github.com/alexjking","followers_url":"https://api.github.com/users/alexjking/followers","following_url":"https://api.github.com/users/alexjking/following{/other_user}","gists_url":"https://api.github.com/users/alexjking/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjking/subscriptions","organizations_url":"https://api.github.com/users/alexjking/orgs","repos_url":"https://api.github.com/users/alexjking/repos","events_url":"https://api.github.com/users/alexjking/events{/privacy}","received_events_url":"https://api.github.com/users/alexjking/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T18:08:40Z","updated_at":"2015-12-01T18:08:40Z","body":"I just figured out what to do from some of the other issues.\r\n```javascript\r\n    options: {\r\n          transform: ['browserify-shim', ['hbsfy', {'t':[]}]],\r\n    }\r\n```\r\nThis allows me to pass the empty options argument. \r\n"}}