@daz4126/swifty 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/layout.js +1 -1
package/package.json
CHANGED
package/src/layout.js
CHANGED
|
@@ -28,7 +28,7 @@ const createTemplate = async () => {
|
|
|
28
28
|
const js = await getJsImports();
|
|
29
29
|
const imports = css + js;
|
|
30
30
|
const highlightCSS = `<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/monokai-sublime.min.css">`;
|
|
31
|
-
const template = templateContent.replace('</head>', `${
|
|
31
|
+
const template = templateContent.replace('</head>', `${turboScript}\n${highlightCSS}\n${imports}\n</head>`);
|
|
32
32
|
return template;
|
|
33
33
|
};
|
|
34
34
|
|