Minor build process fixes

This commit is contained in:
tobspr 2020-05-19 11:11:08 +02:00
parent a7fff0dcd2
commit 3ad359ef0b
3 changed files with 6 additions and 1 deletions

View File

@ -77,7 +77,10 @@ function gulptasksSounds($, gulp, buildFolder) {
.pipe(gulp.dest(path.join(__dirname, "..", "src", "js", "built-temp")));
});
gulp.task("sounds.sfx", ["sounds.sfxGenerateSprites", "sounds.sfxOptimize", "sounds.sfxCopyAtlas"]);
gulp.task(
"sounds.sfx",
$.sequence(["sounds.sfxGenerateSprites", "sounds.sfxOptimize", "sounds.sfxCopyAtlas"])
);
gulp.task("sounds.copy", () => {
return gulp

View File

@ -7,6 +7,7 @@ const { Howl, Howler } = require("howler");
const logger = createLogger("sound/browser");
// @ts-ignore
const sprites = require("../../built-temp/sfx.json");
class SoundSpritesContainer {

View File

@ -1,5 +1,6 @@
import { globalConfig } from "./core/config";
// @ts-ignore
const baseTranslations = require("./built-temp/base-en.json");
export const T = baseTranslations;