jasondavies / d3-cloud

Create word clouds in JavaScript.
https://www.jasondavies.com/wordcloud/
Other
3.82k stars 1.08k forks source link

Webpack unhappy with pre-built JS file #142

Open dangerismycat opened 6 years ago

dangerismycat commented 6 years ago

Webpack is giving this warning on build:

WARNING in ./~/d3-cloud/build/d3.layout.cloud.js
Critical dependencies:
1:530-537 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/d3-cloud/build/d3.layout.cloud.js 1:530-537

Apologies if this problem is local to me or my webpack config (and many thanks for any solutions!). I've been using the library for the past few months and saw this warning for the first time today. It doesn't seem to affect actual usage.

ruden91 commented 6 years ago

I have the same problem..

raducojocaru commented 6 years ago

+1, has anybody solved this issue?