@storm-software/esbuild
Version:
A package containing `esbuild` utilities for building Storm Software libraries and applications
51 lines (44 loc) • 1.01 kB
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});// src/config.ts
var _buildtools = require('@storm-software/build-tools');
var DEFAULT_BUILD_OPTIONS = {
platform: "node",
target: "node22",
format: "esm",
mode: "production",
generatePackageJson: true,
includeSrc: false,
keepNames: true,
metafile: false,
treeshake: true,
splitting: true,
shims: false,
watch: false,
bundle: true,
distDir: "dist",
loader: {
".aac": "file",
".css": "file",
".eot": "file",
".flac": "file",
".gif": "file",
".jpeg": "file",
".jpg": "file",
".mp3": "file",
".mp4": "file",
".ogg": "file",
".otf": "file",
".png": "file",
".svg": "file",
".ttf": "file",
".wav": "file",
".webm": "file",
".webp": "file",
".woff": "file",
".woff2": "file"
},
banner: {
js: _buildtools.DEFAULT_JS_BANNER,
css: _buildtools.DEFAULT_CSS_BANNER
}
};
exports.DEFAULT_BUILD_OPTIONS = DEFAULT_BUILD_OPTIONS;