{"action":"closed","issue":{"url":"https://api.github.com/repos/dowjones/gulp-bundle-assets/issues/59","labels_url":"https://api.github.com/repos/dowjones/gulp-bundle-assets/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/dowjones/gulp-bundle-assets/issues/59/comments","events_url":"https://api.github.com/repos/dowjones/gulp-bundle-assets/issues/59/events","html_url":"https://github.com/dowjones/gulp-bundle-assets/issues/59","id":89496961,"number":59,"title":"How to prepend  custom path to script bundle or style","user":{"login":"aklkv","id":312210,"avatar_url":"https://avatars.githubusercontent.com/u/312210?v=3","gravatar_id":"","url":"https://api.github.com/users/aklkv","html_url":"https://github.com/aklkv","followers_url":"https://api.github.com/users/aklkv/followers","following_url":"https://api.github.com/users/aklkv/following{/other_user}","gists_url":"https://api.github.com/users/aklkv/gists{/gist_id}","starred_url":"https://api.github.com/users/aklkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklkv/subscriptions","organizations_url":"https://api.github.com/users/aklkv/orgs","repos_url":"https://api.github.com/users/aklkv/repos","events_url":"https://api.github.com/users/aklkv/events{/privacy}","received_events_url":"https://api.github.com/users/aklkv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T07:53:51Z","updated_at":"2015-06-19T13:56:51Z","closed_at":"2015-06-19T13:56:51Z","body":"Is it possible to putt scripts to deferent folders in one form same config file?\r\nHere is what I have:\r\n\r\n```js\r\n// bundle.config.js\r\nmodule.exports = {\r\n  bundle: {\r\n    main: {\r\n      scripts: [\r\n        './assets/src/js/**/*.js',\r\n      ],\r\n      options: {\r\n        rev: false\r\n      },\r\n    },\r\n    vendor: {\r\n      scripts: [\r\n        {\r\n          // jQuery\r\n          src: './assets/src/bower_components/jquery/dist/jquery.js',\r\n          minSrc: './assets/src/bower_components/jquery/dist/jquery.min.js',\r\n          watch: false\r\n        }\r\n      ],\r\n      options: {\r\n        useMin: true,\r\n        rev: false\r\n      },\r\n    },\r\n    //would like to putt this file in to views folder in dist \r\n    views:{\r\n      scripts: [\r\n        './assets/src/js/views/**.js',\r\n      ],\r\n      options: {\r\n        rev: false\r\n      },\r\n    }\r\n  },\r\n  copy: [\r\n    {\r\n      src: './assets/src/bower_components/bootstrap/dist/fonts/**/*.*',\r\n      base: './assets/src/bower_components/bootstrap/dist/',\r\n      watch: false\r\n    },\r\n    {\r\n      src: './assets/src/img/**/*.*',\r\n      base: './assets/src/',\r\n      watch: true\r\n    }\r\n  ]\r\n};\r\n```\r\n```js\r\n// gulpfile.js\r\nvar gulp = require('gulp'),\r\n  bundle = require('gulp-bundle-assets');\r\n\r\ngulp.task('bundle', function() {\r\n  return gulp.src('./assets/src/js/bundle.config.js')\r\n    .pipe(bundle())\r\n    .pipe(gulp.dest('./assets/dist'));\r\n});\r\n\r\n\r\ngulp.task('watch', function(){\r\n    gulp.watch('assets/src/js/**/*.js', ['bundle']);\r\n  });\r\n\r\ngulp.task('default', ['bundle']);\r\n```\r\n\r\nThank you."}}