fancy imports
This commit is contained in:
parent
ab706e2408
commit
3fd0450f2d
5 changed files with 10 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const faunadb = require('faunadb');
|
||||
import faunadb from 'faunadb'
|
||||
// const faunadb = require('faunadb');
|
||||
const q = faunadb.query;
|
||||
const client = new faunadb.Client({
|
||||
secret: process.env.FAUNADB_SECRET
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue