Skip to content

compulim/experiment-treeshake-directlinejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

experiment-treeshake-directlinejs

Experiment on tree-shaking botframework-directlinejs

How to setup/run

Initially, cd component && npm install.

For subsequent runs, npm test.

Observations

When importing from the root, it will import botframework-directlinejs, but not using it. This produce almost the same build when compared to import 'botframework-directlinejs'.

When importing from named exports, it will not import botframework-directlinejs at all.

image

As in the table above, just importing botframework-directlinejs incur costs, even without using it.

About

Experiment on tree-shaking botframework-directlinejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published