Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
hello,
when generating the pbiviz and using it in power bi, are the devDependencies also being installed or are only the dependencies being installed?
kind regards
Solved! Go to Solution.
Only dependencies are included in the .pbiviz used in Power BI. devDependencies are used only during development and are not bundled.
Separating dependencies from devDependencies is really a matter of semantics when it comes to webpack-based projects, as webpack will inspect and tree-shake whatever dependencies you're using, irrespective of where they are allocated in package.json. The approach cited in this article of separating them still makes sense, as it helps folks understand your codebase, but it won't ultimately matter once the visual is packaged.
For a time, it was even a requirement for certification that a visual must only use devDependencies (here's an example of a visual I had to do this for), but I'm pretty sure this has recently been relaxed, although I'm still doing it out of habit for all the visuals I submit to AppSource.
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Only dependencies are included in the .pbiviz used in Power BI. devDependencies are used only during development and are not bundled.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.