/', '', $content ); // Format as a valid JavaScript import. return 'module.exports = /' . strtr( $content, [ '/' => '\/' ] ) . '/;'; } }