Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pathPrefix to bundle config #60

Open
chmontgomery opened this issue Jun 29, 2015 · 1 comment
Open

add pathPrefix to bundle config #60

chmontgomery opened this issue Jun 29, 2015 · 1 comment
Milestone

Comments

@chmontgomery
Copy link
Contributor

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.

// 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'
        }
      }
    }
  }
}
@chmontgomery chmontgomery added this to the Ice Box milestone Jun 29, 2015
@chmontgomery
Copy link
Contributor Author

note: related to #22

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

No branches or pull requests

1 participant