diff --git a/packages/pwa-utils/index.js b/packages/pwa-utils/index.js index 9c51ef06..290b8bfc 100755 --- a/packages/pwa-utils/index.js +++ b/packages/pwa-utils/index.js @@ -1,4 +1,4 @@ -import { posix as path } from 'path' +const path = require('path').posix function find (arr, key, val) { return arr.find(obj => val ? obj[key] === val : obj[key])