Configure bundled files -- disable dev builds #508
Labels
kind: feature
New feature or request
solution: workaround available
There is a workaround available for this issue
I want to configure the name of the output files and which files are bundled.
By default, the JS that are output'd are an index file, cjs and esm files with both production and development versions and respective maps. But I want to build a single umd file named
index.js
.So I added the following flags to the build command:
However this while output no index file and two umd files both production and development versions and respective maps.
So I just added postbuild script to copy the contents of the production files and delete the other files.
Ideally all I want to output is a single production minified file called
index.js
and respective mapindex.js.map
.How can I achieve this by configuring the
tsdx.config.js
??The text was updated successfully, but these errors were encountered: