diff --git a/build-lists.js b/build-lists.js index 3edadbc..b32e6de 100644 --- a/build-lists.js +++ b/build-lists.js @@ -30,6 +30,9 @@ import { import { PaginatedList } from '~/helpers/api/pagination.js' +import { + apiDirectory +} from '~/helpers/api/config.js' import { cliOptions @@ -38,7 +41,6 @@ import { // Setup dotenv dotenv.config() -export const apiDirectory = './static/api' function normalizeVersion ( rawVersion ) { diff --git a/helpers/api/config.js b/helpers/api/config.js new file mode 100644 index 0000000..2740464 --- /dev/null +++ b/helpers/api/config.js @@ -0,0 +1 @@ +export const apiDirectory = './static/api'