I'm bundling select2 (https://github.com/select2/select2) and it makes use of dynamic requires. Specifically in translation.js file (https://github.com/select2/select2/blob/select2-ng/src/js/select2/translation.js#L26). This require is being rewrited as: ``` var Query = __webpack_require__(19)(""options.amdBase + 'compat/query'); ``` Which results in a **syntax error**. Shouldn't write it like this? ``` var Query = __webpack_require__(19)("" + options.amdBase + 'compat/query'); ```
I'm bundling select2 (https://github.com/select2/select2) and it makes use of dynamic requires.
Specifically in translation.js file (https://github.com/select2/select2/blob/select2-ng/src/js/select2/translation.js#L26).
This require is being rewrited as:
Which results in a syntax error. Shouldn't write it like this?