This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// This Webpack plugin ensures `npm install <library>` forces a project rebuild.
// We’re not sure why this isn't Webpack's default behavior.
// See https://github.com/facebookincubator/create-react-app/issues/186.
'use strict';
classWatchMissingNodeModulesPlugin{
constructor(nodeModulesPath){
this.nodeModulesPath=nodeModulesPath;
}
apply(compiler){
compiler.plugin('emit',(compilation,callback)=>{
varmissingDeps=compilation.missingDependencies;
varnodeModulesPath=this.nodeModulesPath;
// If any missing files are expected to appear in node_modules...