@storm-software/esbuild
Version:
A package containing `esbuild` utilities for building Storm Software libraries and applications
55 lines (47 loc) • 1.14 kB
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});
var _chunk4KTFAYGLcjs = require('./chunk-4KTFAYGL.cjs');
var _chunkJG7MZJV2cjs = require('./chunk-JG7MZJV2.cjs');
// src/config.ts
_chunkJG7MZJV2cjs.init_cjs_shims.call(void 0, );
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: _chunk4KTFAYGLcjs.DEFAULT_COMPILED_BANNER,
css: _chunk4KTFAYGLcjs.DEFAULT_COMPILED_BANNER
}
};
exports.DEFAULT_BUILD_OPTIONS = DEFAULT_BUILD_OPTIONS;