strip-comments.js 260 B

12345678
  1. 'use strict'
  2. const { readFileSync, writeFileSync } = require('node:fs')
  3. const { transcode } = require('node:buffer')
  4. const buffer = transcode(readFileSync('./undici-fetch.js'), 'utf8', 'latin1')
  5. writeFileSync('./undici-fetch.js', buffer.toString('latin1'))