diff --git a/lib/pipeline/babel-loader-overrides.js b/lib/pipeline/babel-loader-overrides.js index de4fa62aa..a9c5c75a5 100644 --- a/lib/pipeline/babel-loader-overrides.js +++ b/lib/pipeline/babel-loader-overrides.js @@ -1,11 +1,11 @@ /** * This source code was adapted from: - * https://github.com/facebook/create-react-app/blob/72d4ab02922c54b80126da2e132f60fdbdc2f6b3/packages/babel-preset-react-app/webpack-overrides.js + * https://github.com/facebook/create-react-app/blob/v2.0.4/packages/babel-preset-react-app/webpack-overrides.js * * Copyright (c) 2015-present, Facebook, Inc. * * The MIT license for this code may be found on GitHub: - * https://github.com/facebook/create-react-app/blob/72d4ab02922c54b80126da2e132f60fdbdc2f6b3/LICENSE + * https://github.com/facebook/create-react-app/blob/v2.0.4/packages/babel-preset-react-app/LICENSE */ const crypto = require('crypto'); diff --git a/lib/pipeline/webpack.config.js b/lib/pipeline/webpack.config.js index 0e6628c9c..041f6fac1 100644 --- a/lib/pipeline/webpack.config.js +++ b/lib/pipeline/webpack.config.js @@ -67,7 +67,7 @@ function resolve(pkgName) { // ----------------------------------------------------------------------------- // order and options of babel plugins and presets adapted from babel-preset-react-app: -// see: https://github.com/facebook/create-react-app/blob/72d4ab02922c54b80126da2e132f60fdbdc2f6b3/packages/babel-preset-react-app/create.js +// see: https://github.com/facebook/create-react-app/tree/v2.0.4/packages/babel-preset-react-app // + babel plugins run before babel presets. // + babel plugin ordering is first to last. // + babel preset ordering is reversed (last to first).