function validateOptions(options) {
  // Warning messages
  const warningPrefix = '[web-contrib][warning]';
  const contextMessage = `It is recommended to set 'context' to an absolute path to a base directory.
Context is used to resolve relative entry points, loader configurations and SVG id hashing.
More about 'context': https://webpack.js.org/configuration/entry-context/#context`;
  /* eslint-disable no-console */
  const warn = (message) => console.warn(`
${warningPrefix} ${message}
`);
  /* eslint-enable no-console */

  // Warning logs
  if (!options.context) {
    warn(contextMessage);
  }
}
/**
 * Validates options for base configuration.
 *
 * @param {Object} options a set of options to customize the Webpack configuration
 */
Validates options for base configuration.
@param {Object} options a set of options to customize the Webpack configuration
Validates options for base configuration . @param { Object } options a set of options to customize the Webpack configuration
function validateOptions(options) {
  const warningPrefix = '[web-contrib][warning]';
  const contextMessage = `It is recommended to set 'context' to an absolute path to a base directory.
Context is used to resolve relative entry points, loader configurations and SVG id hashing.
More about 'context': https://webpack.js.org/configuration/entry-context/#context`;
  const warn = (message) => console.warn(`
${warningPrefix} ${message}
`);
  if (!options.context) {
    warn(contextMessage);
  }
}
function validateOptions ( options ) { const warningPrefix = '[web-contrib][warning]' ; const contextMessage = ` ` ; const warn = ( message ) => console . warn ( ` ${ warningPrefix } ${ message } ` ) ; if ( ! options . context ) { warn ( contextMessage ) ; } }
Validates options for base configuration.
Validates options for base configuration .
// Warning messages /* eslint-disable no-console */ /* eslint-enable no-console */ // Warning logs