Open mdurling opened 7 years ago
You can override or add the necessary object to the config yourself. See the README on how to achieve that.
@niieani I understand. I override objects all the time. Using TypeScript, however, the issue is that the performance
configuration object is not part of the Webpack
interface in the version of webpack.d.ts
that's included with @easy-webpack/core
... I have worked around this by casting my config as EasyWebpackConfig
, but I believe the new webpack performance options should be added to the d.ts
file (or the @types/webpack
package)
Ah, I see. I didn't understand you mean the typings are incorrect. Ok, I'll handle this.
Configuration @easy-webpack/core@2.0.1 does not support including webpack performance options (hints, maxAssetSize, etc.)
e.g. I should be able to disable asset size warnings with the following options. They performance object is not part of the
EasyWebpackConfig
type definition.