UNPKG

@gravityforms/gulp-tasks

Version:
34 lines (27 loc) 659 B
/** * External Dependencies */ import { createRequire } from 'node:module'; const require = createRequire( import.meta.url ); const { mergeWithCustomize, customizeArray } = require( 'webpack-merge' ); /** * Internal Dependencies */ import getConfig from '../../config.js'; import devBase from './configs/dev-base.js'; const { config } = getConfig(); export default mergeWithCustomize( { customizeArray: customizeArray( { optimization: 'append', plugins: 'append', } ), } )( devBase, { entry: { 'field-map': [ `${ config.paths.js_src }/legacy/admin/settings/field-map/index.js`, ], }, output: { path: config.paths.js_dist, }, } );