Is this only a global or does it work with webpack/browserify?
See original GitHub issueDon’t see anything about require('frappe-charts')
or import Chart from 'frappe-charts'
Is the only way to use this to have a script tag on the page and have a global Chart
object?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Webpack or Browserify & Gulp: Which Is Better?
Simply put, Webpack is such a powerful tool that it can already perform the vast majority of the tasks you'd otherwise do through...
Read more >Browserify vs Webpack
Webpack attacks the build problem in a fundamentally more integrated and opinionated manner. In Browserify you use Gulp/Grunt and a long list ...
Read more >Accessing "public" members after bundling with browserify ...
You're trying to access App in the global context. However, App is not made available globally by default. Node.js makes use of modules,...
Read more >Browserify vs Webpack | Comparison Table with Infografic
This is a guide to Browserify vs Webpack. Here we discuss the key differences with infographics and comparison table of Browserify vs Webpack....
Read more >Journey from browserify to webpack | by Lost in Space
I would say, it makes JavaScript modules management works like a charm. No matter its a CommonJS/AMD/global module, webpack could easily bundle them ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@davidguttman @egoist @gwillz So we’ve made it importable; as @eeve mentioned earlier, we’ve included the
es
andcjs
builds as well in the/dist
folder. Try it out at https://npm.runkit.com/frappe-charts.We will be working on the namespacing next.