code: function getOptions(loaderContext) {
      const config = loaderContext.rootContext['angularGettextExtractLoader'];
      const query = loaderUtils.getOptions(loaderContext);
      // Need polyfill for IE, you could replace it back to lodash _({}, ..)
      const options = Object.assign({}, config, query);
  
      // Parse `extensions` option. Allows for custom file schemes.
      if (typeof options.extensions === 'string') {
          options.extensions = JSON.parse(options.extensions);
      }
  
      if (!options.pofile) {
          options.pofile = 'template.pot';
      }
  
      return options;
  }
docs: Parse and merge options from:
  - config-level object (`angularGettextExtractLoader`)
  - query string