0.2.15 • Published 8 days ago

@3xpo/es-many v0.2.15

Weekly downloads
-
License
MIT
Repository
-
Last release
8 days ago

es-many

Call esbuild with many input/output types.

Note

This is an internal tool. It is not necessarily perfect + i don't really care.

It's also highly unfinished. Enjoy!

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Usage

esmany --args "src/main.ts --sourcemap --packages=external" --output dist/main --minify

The value in --args is passed to it directly. The output file will have the extension automatically appended; ie index turns into index.node.cjs. Note that --args is NOT sanitized; even if you properly pass it in, it'll just be slapped on the end of the esbuild command. If untrusted input is passed, the user CAN trigger arbitrary code execution.

The value of --args MUST NOT start with --; you should instead start it with your sourcefile.

The output will append as follows: [.node|.browser][.bundle][.min][.iife].(c|m)js

Options

Each one of these should have atleast one value specified. To specify multiple values, separate values by commas.

Minification

--minify true|false

Platforms

--platform node|browser|neutral

Formats

--format iife|cjs|esm

Bundling

--bundle true|false

0.2.15

8 days ago

0.2.14

2 months ago

0.2.13

2 months ago

0.2.12

2 months ago

0.2.11

2 months ago

0.2.10

3 months ago

0.2.9

3 months ago

0.2.8

4 months ago

0.2.7

4 months ago

0.2.6

4 months ago

0.2.5

4 months ago

0.2.3

5 months ago

0.2.4

5 months ago

0.2.2

5 months ago

0.2.1

5 months ago

0.2.0

5 months ago

0.1.6

5 months ago

0.1.5

5 months ago

0.1.4

5 months ago

0.1.3

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago