mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 09:09:30 -07:00
fix include location in build
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user