enhanced-resolve
enhanced-resolve copied to clipboard
optimize alias plugin for huge alias objects
The alias plugin gets very slow when the webpack config has many aliases.
This PR aims to re-implement the features of the current alias plugin but in a more efficient manner:
- Create only the minimum amount of closure objects as possible
- Memoize string operations by running them in the constructor of the plugin
- :x: - login: @VincentBailly . The commit (44a260398aa930cfab73433df09814f8d9f72202, e4ace48dfc5fcc14afc8227d1ec8f268eb9c95df, 24b3c604bfe87cb150da92ab08b9dee2ebdb8c96, 534660ab92e7023cb5c3f9ce4502a0847eb30683, 2c5fcf3c6fbc35f2ebdfba58987915dcefbde1ab) is not authorized under a signed CLA. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.
Tests are failed