bundlex
v3.0.1
Published
very fast in memory javascript bundler
Downloads
21
Maintainers
Readme
��#� �b�u�n�d�l�e�X�
�
�
�
�a� �v�e�r�y� �f�a�s�t� �a�n�d� �s�c�a�l�a�b�l�e� �b�u�n�d�l�e�r� �w�i�t�h� �b�u�n�c�h� �o�f� �f�e�a�t�u�r�e�s�
�
�
�
�#� �b�u�n�d�l�e�r�
�
�
�
��j�s�B�u�n�d�l�e�r�
� �i�s� �t�h�e� �f�u�n�c�t�i�o�n� �t�o� �b�u�n�d�l�e� �j�s� �o�r� �t�s� �j�u�s�t� �b�y� �p�a�s�s�i�n�g� �t�h�e� �p�a�t�h� �t�o� �t�h�e� �f�i�l�e�.�
�
�
�
�#� �l�i�s�t�e�n�e�r�
�
�
�
�Y�o�u� �c�a�n� �l�i�s�t�e�n� �f�o�r� �e�v�e�n�t�s� �h�a�p�e�n�n�i�n�g� �o�n� �t�h�e� �b�u�n�d�l�e�d� �p�a�t�h�.�
�
�
�
�W�i�t�h� ��j�s�B�u�n�d�l�e�r�.�o�n�
� �y�o�u� �c�a�n� �l�i�s�t�e�n� �f�o�r� �e�v�e�n�t�s� �h�a�p�e�n�n�i�n�g� �o�n� �t�h�e� �b�u�n�d�l�e�d� �p�a�t�h�.�
�
�
�
�F�o�r� �e�x�a�m�p�l�e� �i�f� �y�o�u� �w�a�n�t� �t�o� �l�i�s�t�e�n� �f�o�r� �t�h�e� ��c�h�a�n�g�e�
� �e�v�e�n�t� �y�o�u� �c�a�n� �d�o�:�
�
�
�
��
��
�
�j�s�B�u�n�d�l�e�r�.�o�n�(�'�c�h�a�n�g�e�'�,� �(�p�a�t�h�:� �s�t�r�i�n�g�)� �=�>� �{�
�
� � �/�/� �s�o�m�e�t�h�i�n�g� �t�o� �d�o�
�
�}�)�
�
�
��
�
�
�
�
�#� �F�e�a�t�u�r�e�s�
�
�
�
�O�u�t� �o�f� �t�h�e� �b�o�x� �s�u�p�p�o�r�t�s� �t�y�p�e�s�c�r�i�p�t� �a�n�d� �j�s�o�n� �f�i�l�e�s�.�
�
�
�
�Y�o�u� �c�a�n� �c�r�e�a�t�e� �y�o�u�r� �o�w�n� �b�u�n�d�l�e�r� �t�o� �h�a�n�d�l�e� �a�n�y� �k�i�n�d� �o�f� �b�u�n�d�l�i�n�g�.�
�
�
�
�W�i�t�h� ��c�r�e�a�t�e�B�u�n�d�l�e�r�
� �y�o�u� �c�a�n� �c�r�e�a�t�e� �y�o�u�r� �o�w�n� �b�u�n�d�l�e�r� �j�u�s�t� �b�y� �p�r�o�v�i�d�i�n�g� �a� �i�n�f�o� �e�x�t�r�a�c�t�o�r� �f�u�n�c�t�i�o�n� �a�n�d� �b�u�n�d�l�e�r� �f�u�n�c�t�i�o�n�
�
�
�
��
��
�
�t�y�p�e� �I�n�f�o�E�x�t�r�a�c�t�o�r� �=� �(�p�a�t�h�:� �s�t�r�i�n�g�)� �=�>� �P�r�o�m�i�s�e�<�{�
�
� � �i�m�p�o�r�t�s�:� �s�t�r�i�n�g�[�]�
�
� � �p�a�t�h�:� �s�t�r�i�n�g�
�
� � �c�o�n�t�e�n�t�:� �s�t�r�i�n�g�
�
�}�>�
�
�t�y�p�e� �B�u�n�d�l�e�r� �=� �(�c�o�n�t�e�n�t�s�:� �I�n�f�o�[�]�)� �=�>� �s�t�r�i�n�g�
�
�
��
�
�
�