fancy imports

This commit is contained in:
davidwells 2018-06-11 16:15:03 -07:00
parent ab706e2408
commit 3fd0450f2d
5 changed files with 10 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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