How to use the @wordpress/dependency-extraction-webpack-plugin/lib/util.camelCaseDash function in @wordpress/dependency-extraction-webpack-plugin

To help you get started, we’ve selected a few @wordpress/dependency-extraction-webpack-plugin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LearnPress / learnpress / tools / build.packages.js View on Github external
entry: buildPackages.reduce( ( memo, slug ) => {
			const basename = path.basename( slug );
			const name = camelCaseDash( basename );
			memo[name] = path.resolve( packageDir, `js/${slug}.js` );
			return memo;
		}, {} ),
		output: {

@wordpress/dependency-extraction-webpack-plugin

Extract WordPress script dependencies from webpack bundles.

GPL-2.0-or-later
Latest version published 11 days ago

Package Health Score

95 / 100
Full package analysis