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
Overriding the default rules for the pattern matching JS files would require copying over significant chunks of the default webpack-widget config into the webpack config for an individual widget. Instead, we can create default definitions for individual rules, allowing them to be more easily overridden by widgets based on their needs, like so:
This same update ought to be applied to the plugins section as well. The same formatting is used to clean, copy, and zip the contents of the build directory, but making changes to any of the steps requires them to be re-appended to the end of the plugins array, which is sloppy.
Right now there's no easy way to override the rulesets for a given pattern, ex:
Overriding the default rules for the pattern matching JS files would require copying over significant chunks of the default webpack-widget config into the webpack config for an individual widget. Instead, we can create default definitions for individual rules, allowing them to be more easily overridden by widgets based on their needs, like so:
The text was updated successfully, but these errors were encountered: