From 9e6bd5f1d1360464cee98c80ab0ce2a222447c67 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Thu, 29 Feb 2024 17:36:21 +0530 Subject: [PATCH] fix base tag and transpiler path --- src/index.ejs | 4 ++-- src/utils.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ejs b/src/index.ejs index ac96c50..7b55666 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -11,9 +11,9 @@ rel="manifest" href="<%= htmlWebpackPlugin.files.publicPath %>manifest.json" /> + <% if (cli.env.isProd) { %> - - <% if (cli.manifest.theme_color) { %> + <% } %> <% if (cli.manifest.theme_color) { %> <% } %> diff --git a/src/utils.js b/src/utils.js index eb7e76f..e346d22 100644 --- a/src/utils.js +++ b/src/utils.js @@ -512,7 +512,7 @@ export function prettify({ file, content, type }) { * Loaded the code comiler based on the mode selected */ export function handleModeRequirements(mode) { - const baseTranspilerPath = '/lib/transpilers'; + const baseTranspilerPath = 'lib/transpilers'; // Exit if already loaded var d = deferred(); if (modes[mode].hasLoaded) {