cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

[custom visual] where is the webpack config file?

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: [custom visual] where is the webpack config file?

Hi @afernandezyseop,

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

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Highlighted
Super User II
Super User II

Re: [custom visual] where is the webpack config file?

Hi @afernandezyseop,

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

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!