vaderjs 1.4.1-hyiuy47 → 1.4.1-li7iuy47

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.
@@ -62,14 +62,13 @@ const generateHTML = (routeData) => {
62
62
  <html>
63
63
  <head>
64
64
 
65
- <title>Vaderjs v1.3.3</title>
66
- <meta name="description" content="Vader.js is a modern web framework for building web applications.">
67
- <link rel="shortcut icon" href="https://raw.githubusercontent.com/Postr-Inc/Vader.js/main/logo.png" type="image/x-icon">
68
- </head>
69
- <body>
70
- <script id="v">
65
+ <title>Vaderjs v1.3.3</title>
66
+ <script id="v">
71
67
  window.$SERVER = true
72
68
  </script>
69
+ </head>
70
+ <body>
71
+
73
72
  <div id="app"></div>
74
73
  <script id="router" type="module">
75
74
  import Router from '/router.js'
@@ -152,8 +151,7 @@ const ssg = async (config) => {
152
151
  document.querySelector("#app").innerHTML = "";
153
152
  }
154
153
  });
155
- let content = await page.content();
156
- console.log(`Writing ${routes[i].path} to ${output}/${routes[i].path}/index.html`)
154
+ let content = await page.content();
157
155
  if (output.includes('./dist')) {
158
156
  output = output.split('./dist')[1]
159
157
  }
@@ -183,7 +181,8 @@ export default {
183
181
  version: '1.0.0',
184
182
  useRuntime: 'node',
185
183
  entryPoint: process.cwd() + '/node_modules/vaderjs/@integrations/ssg.js',
186
- on: ['build', 'dev:change'],
184
+ on: ['build', 'dev'],
187
185
  }
188
186
 
189
187
 
188
+ // Path:integrations/ssg.js