From b29a09185b95d10aefc9468e051fef033321b01f Mon Sep 17 00:00:00 2001 From: Adam Raya Navarro Date: Wed, 26 Jan 2022 10:16:36 -0800 Subject: [PATCH] Update create-mobify-app.js --- .../pwa-kit-create-app/scripts/create-mobify-app.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/packages/pwa-kit-create-app/scripts/create-mobify-app.js b/packages/pwa-kit-create-app/scripts/create-mobify-app.js index 24bdd8ab24..25ef3fc09e 100755 --- a/packages/pwa-kit-create-app/scripts/create-mobify-app.js +++ b/packages/pwa-kit-create-app/scripts/create-mobify-app.js @@ -152,17 +152,7 @@ const runGenerator = (answers, {outputDir}) => { ] }) - const PWAKitConfigJsonTemplatePath = p.resolve( - p.join( - process.cwd(), - 'packages', - 'pwa-kit-create-app', - 'assets', - 'pwa', - 'pwa-kit.config.json' - ) - ) - const PWAKitConfigJsonTemplate = readJson(PWAKitConfigJsonTemplatePath) + const PWAKitConfigJsonTemplate = require(`../assets/pwa/pwa-kit.config`) const PWAKitConfigJsonPath = p.resolve(outputDir, 'pwa-kit.config.json') writeJson(PWAKitConfigJsonPath, PWAKitConfigJsonTemplate)