UNPKG

@nxworker/workspace

Version:

Nx plugin providing generators for managing workspace files, including the move-file generator for safely moving files between projects while updating all imports

18 lines (17 loc) 552 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "hasSourceFileExtension", { enumerable: true, get: function() { return hasSourceFileExtension; } }); const _nodepath = require("node:path"); const _fileextensions = require("../constants/file-extensions"); function hasSourceFileExtension(filePath) { const ext = _nodepath.posix.extname(filePath); return _fileextensions.sourceFileExtensions.includes(ext); } //# sourceMappingURL=has-source-file-extension.js.map