strip-import-path-params.js 240 Bytes Edit 1 2 3 4 5 6 7 8 9 10 /** * @author Toru Nagashima * See LICENSE file in root directory for full license. */ "use strict" module.exports = function stripImportPathParams(path) { const i = path.indexOf("!") return i === -1 ? path : path.slice(0, i) }