jsx-loader icon indicating copy to clipboard operation
jsx-loader copied to clipboard

Harmony throwing warnings when compiling

Open snario opened this issue 10 years ago • 0 comments

All these logs from warnings are getting really annoying, and I can't find any reason why they would be happening. They only started recently (like 2 weeks) though -- no idea what is causing them.

webpack.config.js (loaders)

{
           test: /\.jsx?$/,
           loaders: ['react-hot', 'jsx-loader?harmony'],

           include: [
               // everything local
               path.resolve(__dirname, "js"),

               // troublemakers
               path.resolve(__dirname, "node_modules/react-progressbar/index.js"),
           ],

}

Logs

WARNING in ./~/harmony/~/formidable/lib/incoming_form.js
Critical dependencies:
1:43-50 require function is used in a way, in which dependencies cannot be statically extracted
 @ ./~/harmony/~/formidable/lib/incoming_form.js 1:43-50

WARNING in ./~/harmony/~/formidable/lib/incoming_form.js
Critical dependencies:
1:0-13 the request of a dependency is an expression
 @ ./~/harmony/~/formidable/lib/incoming_form.js 1:0-13

WARNING in ./~/harmony/~/formidable/lib/file.js
Critical dependencies:
1:43-50 require function is used in a way, in which dependencies cannot be statically extracted
 @ ./~/harmony/~/formidable/lib/file.js 1:43-50

WARNING in ./~/harmony/~/formidable/lib/file.js
Critical dependencies:
1:0-13 the request of a dependency is an expression
 @ ./~/harmony/~/formidable/lib/file.js 1:0-13

WARNING in ./~/harmony/~/formidable/lib/querystring_parser.js
Critical dependencies:
1:43-50 require function is used in a way, in which dependencies cannot be statically extracted
 @ ./~/harmony/~/formidable/lib/querystring_parser.js 1:43-50

WARNING in ./~/harmony/~/formidable/lib/querystring_parser.js
Critical dependencies:
1:0-13 the request of a dependency is an expression
 @ ./~/harmony/~/formidable/lib/querystring_parser.js 1:0-13

snario avatar May 04 '15 19:05 snario