diff --git a/.scripts/patches/subscriptions-transport-ws.js b/.scripts/patches/subscriptions-transport-ws.cjs similarity index 98% rename from .scripts/patches/subscriptions-transport-ws.js rename to .scripts/patches/subscriptions-transport-ws.cjs index 729b62d5f..e0510b189 100644 --- a/.scripts/patches/subscriptions-transport-ws.js +++ b/.scripts/patches/subscriptions-transport-ws.cjs @@ -1,4 +1,4 @@ -const fs = require('fs'); +import fs from 'fs'; const paths = { server: './node_modules/subscriptions-transport-ws/dist/server.js',