mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-23 03:59:30 -07:00
fix include location in build
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
import { config } from 'dotenv';
|
import { config } from 'dotenv';
|
||||||
config({
|
|
||||||
path: ['gulp/.env', '.env']
|
|
||||||
})
|
|
||||||
import {
|
import {
|
||||||
src, dest, series, parallel,
|
src, dest, series, parallel,
|
||||||
} from 'gulp';
|
} from 'gulp';
|
||||||
@@ -22,6 +19,10 @@ import OVERRIDES from '../src/overrides.mjs';
|
|||||||
// get cloudfront
|
// get cloudfront
|
||||||
import reader from '../src/playlist-reader.mjs';
|
import reader from '../src/playlist-reader.mjs';
|
||||||
|
|
||||||
|
config({
|
||||||
|
path: ['gulp/.env', '.env'],
|
||||||
|
});
|
||||||
|
|
||||||
const clean = () => deleteAsync(['./dist/**/*', '!./dist/readme.txt']);
|
const clean = () => deleteAsync(['./dist/**/*', '!./dist/readme.txt']);
|
||||||
|
|
||||||
const cloudfront = new CloudFrontClient({ region: 'us-east-1' });
|
const cloudfront = new CloudFrontClient({ region: 'us-east-1' });
|
||||||
@@ -87,7 +88,7 @@ const mjsSources = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
if (!process.env.DISABLE_PERSONAL) {
|
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)
|
const buildJs = () => src(mjsSources)
|
||||||
|
|||||||
Reference in New Issue
Block a user