"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.publicPathAsExpression = publicPathAsExpression;
exports.resourceBasedPublicPath = resourceBasedPublicPath;

// const  publicPaths = {
// };
function resourceBasedPublicPath(resoruceType, options) {
  return options.publicPath;
}

function publicPathAsExpression(resoruceType, options) {
  if (resoruceType === 'i18n') {
    return options.i18nChunkSplit.localeVarName;
  }

  return JSON.stringify(options.publicPath);
}