Closed vkatushenok closed 8 years ago
Specifying externalRequireName in browserify config should use given name instead if 'require'.
externalRequireName
karma.set({ ... files: [ 'test-spec.js' ], preprocessors: { 'test-spec.js': ['browserify'] }, browserify: { externalRequireName: 'app_require' ... } ... })
Still results in file with content like this:
typeof require === "function" && require("PATH_TO_FILE/test-spec.js");
Specifying
externalRequireName
in browserify config should use given name instead if 'require'.Still results in file with content like this: