Minor build process fixes
This commit is contained in:
parent
a7fff0dcd2
commit
3ad359ef0b
|
@ -77,7 +77,10 @@ function gulptasksSounds($, gulp, buildFolder) {
|
||||||
.pipe(gulp.dest(path.join(__dirname, "..", "src", "js", "built-temp")));
|
.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", () => {
|
gulp.task("sounds.copy", () => {
|
||||||
return gulp
|
return gulp
|
||||||
|
|
|
@ -7,6 +7,7 @@ const { Howl, Howler } = require("howler");
|
||||||
|
|
||||||
const logger = createLogger("sound/browser");
|
const logger = createLogger("sound/browser");
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
const sprites = require("../../built-temp/sfx.json");
|
const sprites = require("../../built-temp/sfx.json");
|
||||||
|
|
||||||
class SoundSpritesContainer {
|
class SoundSpritesContainer {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import { globalConfig } from "./core/config";
|
import { globalConfig } from "./core/config";
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
const baseTranslations = require("./built-temp/base-en.json");
|
const baseTranslations = require("./built-temp/base-en.json");
|
||||||
|
|
||||||
export const T = baseTranslations;
|
export const T = baseTranslations;
|
||||||
|
|
Loading…
Reference in New Issue