1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-03-22 11:39:47 +01:00

fix base tag and transpiler path

This commit is contained in:
Kushagra Gour 2024-02-29 17:36:21 +05:30
parent 06eb0b228b
commit 9e6bd5f1d1
2 changed files with 3 additions and 3 deletions

View File

@ -11,9 +11,9 @@
rel="manifest"
href="<%= htmlWebpackPlugin.files.publicPath %>manifest.json"
/>
<% if (cli.env.isProd) { %>
<base href="/create/" />
<% if (cli.manifest.theme_color) { %>
<% } %> <% if (cli.manifest.theme_color) { %>
<meta name="theme-color" content="<%= cli.manifest.theme_color %>" />
<% } %>

View File

@ -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) {