---
title: resources.Babel
description: Compiles the given JavaScript resource with Babel.
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: []
    returnType: resource.Resource
    signatures: ['resources.Babel [OPTIONS] RESOURCE']
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0
---

{{< deprecated-in 0.128.0 >}}
Use [`js.Babel`] instead.

[`js.Babel`]: /functions/js/babel/
{{< /deprecated-in >}}
