Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
where is the webpack config file of a custom visual located? I'm in need of disabling the `compact` option of the Babel compiler
thanks a lot
Solved! Go to Solution.
Hi @Anonymous,
To answer your specific question, the webpack configuration is stored wherever your global node_modules are installed; on Windows this is typically %AppData%\Roaming\npm\node_modules\powerbi-visuals-tools\lib\webpack.config.js.
However, changing the default webpack configuration isn't currently supported within powerbi-visuals-tools.
The team offers powerbi-visuals-webpack-plugin for you to set up your own webpack configuration and configure it for a visuals project.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous,
To answer your specific question, the webpack configuration is stored wherever your global node_modules are installed; on Windows this is typically %AppData%\Roaming\npm\node_modules\powerbi-visuals-tools\lib\webpack.config.js.
However, changing the default webpack configuration isn't currently supported within powerbi-visuals-tools.
The team offers powerbi-visuals-webpack-plugin for you to set up your own webpack configuration and configure it for a visuals project.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |