You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally the pattern is to define your own webpack.config.js at your project root:
// webpack.config.jsconstconfig=require('@salesforce/pwa-kit-react-sdk/configs/webpack/config')const[client,ssr,rendered,clientOptional,requestProcessor]// do whatever you want with configmodule.exports=config
Extending the config can be useful for adding support for alternative webpack features like the ability to directly use CSS:
The PWA Kit ships with a default Webpack configuration that can be extended:
https://github.com/SalesforceCommerceCloud/pwa-kit/blob/develop/packages/pwa-kit-dev/src/configs/webpack/config.js
Generally the pattern is to define your own
webpack.config.js
at your project root:Extending the config can be useful for adding support for alternative webpack features like the ability to directly use CSS:
It would be great if we created documentation showing how to do this for common examples.
The text was updated successfully, but these errors were encountered: