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

Support setting "homepage" to "." to generate relative asset paths #1489

Merged
merged 4 commits into from
Feb 10, 2017
Merged

Support setting "homepage" to "." to generate relative asset paths #1489

merged 4 commits into from
Feb 10, 2017

Commits on Feb 10, 2017

  1. Fix paths in CSS files when homepage is set to "./"

    In the production build, ExtractTextPlugin is used to generate a separate CSS file instead of injecting style through JavaScript. This plugin does not work well by default with nested output structure. To fix it, we give it a relative publicPath pointing to the build folder.
    tibdex authored and Timer committed Feb 10, 2017
    Configuration menu
    Copy the full SHA
    d8ffc1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    757f8df View commit details
    Browse the repository at this point in the history
  3. Apply review requested change

    tibdex authored and Timer committed Feb 10, 2017
    Configuration menu
    Copy the full SHA
    6e2d23e View commit details
    Browse the repository at this point in the history
  4. Apply review changes 2

    tibdex authored and Timer committed Feb 10, 2017
    Configuration menu
    Copy the full SHA
    4bae7ee View commit details
    Browse the repository at this point in the history