Skip to content

Commit

Permalink
Use import instead of require
Browse files Browse the repository at this point in the history
  • Loading branch information
palpalani committed Sep 26, 2023
1 parent fe091ec commit 43010ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lambda/sidecar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const puppeteer = require('puppeteer');
// const puppeteer = require('puppeteer');
import puppeteer from 'puppeteer'

export const handle = async function (event) {
let result = ''
Expand Down

0 comments on commit 43010ce

Please sign in to comment.