We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8ad340 commit a1d8c9cCopy full SHA for a1d8c9c
tasks/partial_bundle.js
@@ -35,7 +35,7 @@ module.exports = function partialBundle(tasks, opts) {
35
var WHITESPACE_BEFORE = '\\s*';
36
// remove require
37
var regEx = WHITESPACE_BEFORE + 'require\\(\'\\./' + t + '\'\\),';
38
- if (strict) {
+ if(strict) {
39
regEx += '|require\\(\'\\.\\./src/traces/' + t + '/strict\'\\),'
40
}
41
var newCode = partialIndex.replace(new RegExp(regEx, 'g'), '');
0 commit comments