When specifying the onCompile callback, the webpack task would fail with the error that the onCompile key is not a valid webpack configuration value. This was occurring because the webpack task options are merged into the webpack configuration by default, with only a few keys excluded.
This change also excludes the onCompile key so that a caller can specify it.
Test Notes
Validated this in a separate project which leverages just.
Overview
When specifying the
onCompile
callback, the webpack task would fail with the error that the onCompile key is not a valid webpack configuration value. This was occurring because the webpack task options are merged into the webpack configuration by default, with only a few keys excluded.This change also excludes the
onCompile
key so that a caller can specify it.Test Notes
Validated this in a separate project which leverages just.