Use native esm

This commit is contained in:
Jonathan Cremin 2020-01-18 10:19:20 +00:00
parent c4354a6600
commit 70bd12a4d6
37 changed files with 379 additions and 119 deletions

View file

@ -1,6 +1,6 @@
import { parse } from 'url';
import SpotifyWebApi from 'spotify-web-api-node';
import urlMatch from './url';
import urlMatch from './url.js';
const spotify = new SpotifyWebApi({
clientId: process.env.SPOTIFY_CLIENT_ID,