UNPKG

restrict-imports-loader

Version:

A Webpack loader to restrict imports in ES and TypeScript

8 lines 260 B
export function quote(s) { return `"${s}"`; } export function indentBy(n) { const indentIfNotEmpty = (line) => line === "" ? "" : " ".repeat(n) + line; return (s) => s.split("\n").map(indentIfNotEmpty).join("\n"); } //# sourceMappingURL=text.js.map