Skip to content

Instantly share code, notes, and snippets.

@pmallol
Created July 6, 2020 20:46
Show Gist options
  • Select an option

  • Save pmallol/9c9d47b23d01b83b49cfa1b2397428c8 to your computer and use it in GitHub Desktop.

Select an option

Save pmallol/9c9d47b23d01b83b49cfa1b2397428c8 to your computer and use it in GitHub Desktop.

Revisions

  1. pmallol created this gist Jul 6, 2020.
    15 changes: 15 additions & 0 deletions middleman-webpack-demo config.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    # config.rb

    #...

    # Build-specific configuration
    # https://middlemanapp.com/advanced/configuration/#environment-specific-settings

    configure :build do
    # Generate relative paths to the repo when deploying to GitHub Pages
    config[:http_prefix] = '/middleman-webpack-demo'
    config[:css_dir] = ""
    config[:js_dir] = ""
    # activate :minify_css
    # activate :minify_javascript
    end