Gutenberg Block Development: Trying to add custom js script to npm start command by modifying webpack.config

Need help understanding “Provide your own webpack config” https://developer.wordpress.org/block-editor/packages/packages-scripts/#provide-your-own-webpack-config const defaultConfig = require( ‘@wordpress/scripts/config/webpack.config’ ); module.exports = { …defaultConfig, entry: { …defaultConfig.entry, //index: … Read more