UNPKG

react-torch

Version:

A lib to server-side render with react.

12 lines (11 loc) 321 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function matchExternals(externals, modulePath) { for (var i = 0; i < externals.length; i++) { if (modulePath.startsWith(externals[i])) { return true; } } return false; } exports.default = matchExternals;