From fddfa7a687f043aaa4a3719a02f45b7cc803214a Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Tue, 5 Mar 2019 13:41:01 +0330 Subject: [PATCH] fix(pwa-utils): don't combine with esm fixes #147 --- packages/pwa-utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])