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:
parent
06eb0b228b
commit
9e6bd5f1d1
@ -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 %>" />
|
||||
<% } %>
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user