We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e0e471 + ba1243e commit 72f576cCopy full SHA for 72f576c
index.js
@@ -6,7 +6,11 @@ module.exports = {
6
name: require('./package').name,
7
outputReady() {
8
const netlifyOptions = this.app.options['ember-cli-netlify'];
9
- const redirectsFromPlugins = loadNetlifyRedirects(this);
+ const pluginRedirectFunctions = loadNetlifyRedirects(this);
10
+
11
+ let redirectsFromPlugins = pluginRedirectFunctions.reduce((redirects, pluginRedirectFunction) => {
12
+ return redirects.concat(pluginRedirectFunction());
13
+ }, []);
14
15
if (fs.pathExistsSync('.netlifyheaders')) {
16
fs.copySync('.netlifyheaders', 'dist/_headers', { clobber: true });
0 commit comments