Skip to content
Ember addon to configure Netlify headers and redirects
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Ember 3.11 Aug 15, 2019
.ember-cli Initial Commit from Ember CLI v3.1.0-beta.1 Mar 2, 2018
.gitignore Ember 3.8 Mar 6, 2019
.npmignore Ember 3.8 Mar 6, 2019
.travis.yml Ember 3.11 Aug 15, 2019
.watchmanconfig Initial Commit from Ember CLI v3.1.0-beta.1 Mar 2, 2018 Initial Commit from Ember CLI v3.1.0-beta.1 Mar 2, 2018 Ember 3.11 Aug 15, 2019
package.json 0.3.1 Aug 15, 2019
yarn.lock Yarn upgrade Aug 15, 2019


Ship Shape

ember-cli-netlify is built and maintained by Ship Shape. Contact us for Ember.js consulting, development, and training for your project.

npm version Download count all time npm Ember Observer Score Build Status

This addon allows you to configure your Netlify headers and redirects.


  • Ember.js v3.4 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above


ember install ember-cli-netlify


.netlifyheaders and/or .netlifyredirects

There are a few ways to use this addon. The first one is to define a .netlifyheaders and/or a .netlifyredirects file in the root of your project and this addon will copy the output to dist/_headers and dist/_redirects respectively.


The second way is to define an ember-cli-netlify hash in your ember-cli-build.js. You can combine these methods, and anything defined in the config hash will be appended to the existing files. Currently, only redirects are supported, not headers.

'ember-cli-netlify': {
  redirects: [
    '* 301!',
    '* 301!'

Using in an addon

The final option, for addon authors, is to declare redirects for ember-cli-netlify during compilation. To do so, you will want to:

  • Add "ember-cli-netlify-plugin" to your addon's package.json keywords array.
  • Define a netlifyRedirects() function in your addon's main file, that returns an array of redirects.
  • Advise your addon's users to install & configure ember-cli-netlify in the host application.


See the Contributing guide for details.


This project is licensed under the MIT License.

You can’t perform that action at this time.