Open chmontgomery opened 9 years ago
Currently, you can define the pathPrefix for your url paths as an option to bundle.results. This applies to all bundles. Ideally, we should be able to be more granular by defining a pathPrefix option to each bundle individually, e.g.
pathPrefix
bundle.results
// bundle.config.js module.exports = { bundle: { main: { scripts: [ './content/**/*.js' ], styles: [ './content/**/*.css' ], options: { pathPrefix: { // {(string|object)} scripts: '//ecd.akamai.net', styles: '//a2b1.akamaihd.net' } } } } }
note: related to https://github.com/dowjones/gulp-bundle-assets/issues/22
Currently, you can define the
pathPrefix
for your url paths as an option tobundle.results
. This applies to all bundles. Ideally, we should be able to be more granular by defining apathPrefix
option to each bundle individually, e.g.