Front end of the Slack clone application.

browser.js 580B

123456789101112131415161718192021222324252627282930
  1. var BrowserslistError = require('./error')
  2. function noop () { }
  3. module.exports = {
  4. loadQueries: function loadQueries () {
  5. throw new BrowserslistError(
  6. 'Sharable configs are not supported in client-side build of Browserslist')
  7. },
  8. getStat: function getStat (opts) {
  9. return opts.stats
  10. },
  11. loadConfig: function loadConfig (opts) {
  12. if (opts.config) {
  13. throw new BrowserslistError(
  14. 'Browserslist config are not supported in client-side build')
  15. }
  16. },
  17. parseConfig: noop,
  18. readConfig: noop,
  19. findConfig: noop,
  20. clearCaches: noop
  21. }