wp-webpack-script
wp-webpack-script copied to clipboard
bannerConfig should not default if not filled, it should be left out
The default bannerConfig should be left out in: https://github.com/swashata/wp-webpack-script/blob/77d9189fcac726e3adcd6129dd6079badc7486fc/packages/scripts/src/config/project.config.default.ts#L115-L130
Inlining css chunks is not pretty with a bannerConfig for each file. There is no need for a default config. Even bannerConfig: false does just return undefined for every property in: https://github.com/swashata/wp-webpack-script/blob/8d6be7522cbb1164d1446709e9c0c7cdd8b289fe/packages/scripts/src/config/WebpackConfigHelper.ts#L380-L402