aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2021-05-30 15:01:11 -0500
committerMax Isom <[email protected]>2021-05-30 15:01:11 -0500
commitcf75afd4bc1d54223ffa59ec9ddb8a7c255facf6 (patch)
tree4e2abbdbf6386be791aadc7878f472cd006b279c /tsconfig.json
parentd61107aedd5a7108cd3dc1eb6a542ed38f551e00 (diff)
downloadmuse-cf75afd4bc1d54223ffa59ec9ddb8a7c255facf6.tar.xz
muse-cf75afd4bc1d54223ffa59ec9ddb8a7c255facf6.zip
Fix shuffle bug for long Spotify playlists
A random sample of 50 songs is taken for long playlists since mapping Spotify -> YouTube is expensive. However, the function used previously allowed for duplicates within that sample of 50.
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 219c7c7..f8546fb 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,8 +1,9 @@
{
"compilerOptions": {
- "lib": ["ES2018"],
- "target": "es6",
+ "lib": ["ES2019"],
+ "target": "es2018",
"module": "commonjs",
+ "moduleResolution": "node",
"declaration": true,
"outDir": "dist",
"declarationDir": "dts",