Open MovingGifts opened 4 years ago
Hello in the readme it mentions both ways to reduce the bundle size:
readme
Or, import only a subset of the library:
import isEmail from 'validator/lib/isEmail';
Tree-shakeable ES imports
import isEmail from 'validator/es/lib/isEmail';
How do these differ? Does one of them make a smaller bundle size than the other?
I'm confused about this as well...
still no words..?
Hello in the
readme
it mentions both ways to reduce the bundle size:Or, import only a subset of the library:
import isEmail from 'validator/lib/isEmail';
Tree-shakeable ES imports
import isEmail from 'validator/es/lib/isEmail';
How do these differ? Does one of them make a smaller bundle size than the other?