Skip to content

How to target IE11 using microbundle? #761

@ydennisy

Description

@ydennisy

I am using microbundle and typescript. I have followed the advice and set target and module to esnext, and have tried to add a browserslist key in the package.json, but the build from microbundle does not differ with various settings.

My command:

	npx --no-install microbundle \
	  -i src/index.ts \
	  -o dist/sdk/edgekit.min.js \
	  -f umd \
	  --pkg-main false \
	  --compress true \
	  --external none \
	  --sourcemap \

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions