fix include location in build

This commit is contained in:
Matt Walsh
2025-10-21 15:38:43 -05:00
parent 539e7663d6
commit 410880833b

View File

@@ -1,7 +1,4 @@
import { config } from 'dotenv';
config({
path: ['gulp/.env', '.env']
})
import {
src, dest, series, parallel,
} from 'gulp';
@@ -22,6 +19,10 @@ import OVERRIDES from '../src/overrides.mjs';
// get cloudfront
import reader from '../src/playlist-reader.mjs';
config({
path: ['gulp/.env', '.env'],
});
const clean = () => deleteAsync(['./dist/**/*', '!./dist/readme.txt']);
const cloudfront = new CloudFrontClient({ region: 'us-east-1' });
@@ -87,7 +88,7 @@ const mjsSources = [
];
if (!process.env.DISABLE_PERSONAL) {
mjsSources.push('server/scripts/modues/personal-weather.mjs')
mjsSources.push('server/scripts/modules/personal-weather.mjs');
}
const buildJs = () => src(mjsSources)