Move the remove-on-eject-end tag at the end of the file (#978)

This commit is contained in:
Fabrizio Castellarin
2016-11-20 19:34:18 +01:00
committed by Dan Abramov
parent ff7e22e5a8
commit 445048b3c8

View File

@@ -70,7 +70,6 @@ module.exports = {
ownNodeModules: resolveOwn('../node_modules'),
nodePaths: nodePaths
};
// @remove-on-eject-end
// config before publish: we're in ./packages/react-scripts/config/
if (__dirname.indexOf(path.join('packages', 'react-scripts', 'config')) !== -1) {
@@ -88,3 +87,4 @@ if (__dirname.indexOf(path.join('packages', 'react-scripts', 'config')) !== -1)
nodePaths: nodePaths
};
}
// @remove-on-eject-end