build.js 185 B

12345678
  1. 'use strict'
  2. var fs = require('fs')
  3. var statusCodes = require('./')
  4. var code = 'module.exports = ' + JSON.stringify(statusCodes, null, 2) + '\n'
  5. fs.writeFileSync('browser.js', code)