tools: Export using shorthand object literals.
6 files changed, 6 insertions(+), 26 deletions(-)

M tools/audio.js
M tools/images.js
M tools/resources.js
M tools/sprites.js
M tools/tilemaps.js
M tools/utils.js
M tools/audio.js +1 -8
@@ 168,11 168,4 @@ class VGMLoader {
 	}
 }
 
-exports.AudioTrack = AudioTrack;
-exports.AudioCommand = AudioCommand;
-exports.AudioCommandPSG = AudioCommandPSG;
-exports.AudioCommandOPLL = AudioCommandOPLL;
-exports.AudioCommandWait = AudioCommandWait;
-exports.AudioCommandLoop = AudioCommandLoop;
-exports.AudioCommandEnd = AudioCommandEnd;
-exports.VGMLoader = VGMLoader;
+module.exports = { AudioTrack, VGMLoader };

          
M tools/images.js +1 -6
@@ 223,9 223,4 @@ class PNGLoader {
 	}
 }
 
-exports.Image = Image;
-exports.ImageData = ImageData;
-exports.ImageSlice = ImageSlice;
-exports.Palette = Palette;
-exports.PaletteColor = PaletteColor;
-exports.PNGLoader = PNGLoader;
+module.exports = { Image, ImageData, ImageSlice, Palette, PaletteColor, PNGLoader };

          
M tools/resources.js +1 -2
@@ 126,7 126,6 @@ class ResourcesLoader {
 	}
 }
 
-exports.Resources = Resources;
-exports.ResourcesLoader = ResourcesLoader;
+module.exports = { Resources, ResourcesLoader };
 
 main().catch(reason => { throw reason; });

          
M tools/sprites.js +1 -4
@@ 128,7 128,4 @@ class AsepriteSheet {
 	}
 }
 
-exports.Sprite = Sprite;
-exports.SpriteFrame = SpriteFrame;
-exports.SpritePattern = SpritePattern;
-exports.AsepriteSheet = AsepriteSheet;
+module.exports = { Sprite, AsepriteSheet };

          
M tools/tilemaps.js +1 -4
@@ 173,7 173,4 @@ class Tmx {
 	}
 }
 
-exports.TileMap = TileMap;
-exports.TileSet = TileSet;
-exports.Tile = Tile;
-exports.Tmx = Tmx;
+module.exports = { TileMap, TileSet, Tile, Tmx };

          
M tools/utils.js +1 -2
@@ 31,5 31,4 @@ function checkTypes(args) {
 	}
 }
 
-exports.checkTypes = checkTypes;
-exports.toAsmHex = toAsmHex;
+module.exports = { checkTypes, toAsmHex };