diff --git a/.routify/config.js b/.routify/config.js index fe0f277..967c1f5 100644 --- a/.routify/config.js +++ b/.routify/config.js @@ -14,5 +14,5 @@ module.exports = { "svx", "md" ], - "started": "2021-05-20T14:57:51.302Z" + "started": "2022-01-10T14:33:28.708Z" } \ No newline at end of file diff --git a/.routify/routes.js b/.routify/routes.js index 87ebbdf..9c83c2b 100644 --- a/.routify/routes.js +++ b/.routify/routes.js @@ -1,11 +1,11 @@ /** - * @roxi/routify 2.18.1 - * File generated Thu May 20 2021 18:09:03 GMT+0200 (GMT+02:00) + * @roxi/routify 2.18.4 + * File generated Mon Jan 10 2022 15:33:28 GMT+0100 (Central European Standard Time) */ -export const __version = "2.18.1" -export const __timestamp = "2021-05-20T16:09:03.946Z" +export const __version = "2.18.4" +export const __timestamp = "2022-01-10T14:33:28.723Z" //buildRoutes import { buildClientTree } from "@roxi/routify/runtime/buildRoutes" @@ -24,7 +24,7 @@ export const _tree = { "ownMeta": { "preload": "proximity" }, - "absolutePath": "/home/dan/Documents/node_projects/mangades/src/pages/_layout.svelte", + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/_layout.svelte", "children": [ { "isFile": true, @@ -34,7 +34,7 @@ export const _tree = { "name": "_fallback", "ext": "svelte", "badExt": false, - "absolutePath": "/home/dan/Documents/node_projects/mangades/src/pages/_fallback.svelte", + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/_fallback.svelte", "importPath": "../src/pages/_fallback.svelte", "isLayout": false, "isReset": false, @@ -59,8 +59,85 @@ export const _tree = { "name": "_layout", "ext": "svelte", "badExt": false, - "absolutePath": "/home/dan/Documents/node_projects/mangades/src/pages/[manga]/_layout.svelte", + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/[manga]/_layout.svelte", "children": [ + { + "isFile": true, + "isDir": true, + "file": "_layout.svelte", + "filepath": "/[manga]/[chapter]/_layout.svelte", + "name": "_layout", + "ext": "svelte", + "badExt": false, + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/[manga]/[chapter]/_layout.svelte", + "children": [ + { + "isFile": true, + "isDir": false, + "file": "[page].svelte", + "filepath": "/[manga]/[chapter]/[page].svelte", + "name": "[page]", + "ext": "svelte", + "badExt": false, + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/[manga]/[chapter]/[page].svelte", + "importPath": "../src/pages/[manga]/[chapter]/[page].svelte", + "isLayout": false, + "isReset": false, + "isIndex": false, + "isFallback": false, + "isPage": true, + "ownMeta": {}, + "meta": { + "recursive": true, + "preload": "proximity", + "prerender": true + }, + "path": "/:manga/:chapter/:page", + "id": "__manga__chapter__page", + "component": () => import('../src/pages/[manga]/[chapter]/[page].svelte').then(m => m.default) + }, + { + "isFile": true, + "isDir": false, + "file": "index.svelte", + "filepath": "/[manga]/[chapter]/index.svelte", + "name": "index", + "ext": "svelte", + "badExt": false, + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/[manga]/[chapter]/index.svelte", + "importPath": "../src/pages/[manga]/[chapter]/index.svelte", + "isLayout": false, + "isReset": false, + "isIndex": true, + "isFallback": false, + "isPage": true, + "ownMeta": {}, + "meta": { + "recursive": true, + "preload": "proximity", + "prerender": true + }, + "path": "/:manga/:chapter/index", + "id": "__manga__chapter_index", + "component": () => import('../src/pages/[manga]/[chapter]/index.svelte').then(m => m.default) + } + ], + "isLayout": true, + "isReset": false, + "isIndex": false, + "isFallback": false, + "isPage": false, + "importPath": "../src/pages/[manga]/[chapter]/_layout.svelte", + "ownMeta": {}, + "meta": { + "recursive": true, + "preload": "proximity", + "prerender": true + }, + "path": "/:manga/:chapter", + "id": "__manga__chapter__layout", + "component": () => import('../src/pages/[manga]/[chapter]/_layout.svelte').then(m => m.default) + }, { "isFile": true, "isDir": false, @@ -69,7 +146,7 @@ export const _tree = { "name": "index", "ext": "svelte", "badExt": false, - "absolutePath": "/home/dan/Documents/node_projects/mangades/src/pages/[manga]/index.svelte", + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/[manga]/index.svelte", "importPath": "../src/pages/[manga]/index.svelte", "isLayout": false, "isReset": false, @@ -111,7 +188,7 @@ export const _tree = { "name": "index", "ext": "svelte", "badExt": false, - "absolutePath": "/home/dan/Documents/node_projects/mangades/src/pages/index.svelte", + "absolutePath": "/home/dan/projects/node/Mangades/src/pages/index.svelte", "importPath": "../src/pages/index.svelte", "isLayout": false, "isReset": false, diff --git a/package.json b/package.json index a745a8e..65f0194 100644 --- a/package.json +++ b/package.json @@ -24,27 +24,27 @@ "routify": "routify" }, "devDependencies": { - "@rollup/plugin-commonjs": "^19.0.0", - "@rollup/plugin-node-resolve": "^13.0.0", - "@roxi/routify": "^2.18.1", - "@types/streamsaver": "^2.0.0", + "@rollup/plugin-commonjs": "^19.0.2", + "@rollup/plugin-node-resolve": "13.0.0", + "@roxi/routify": "^2.18.4", + "@types/streamsaver": "^2.0.1", "cross-env": "^7.0.3", "fs-extra": "^10.0.0", - "nollup": "^0.16.4", + "nollup": "^0.16.5", "npm-run-all": "^4.1.5", - "postcss": "^8.2.14", - "postcss-import": "^14.0.1", - "rollup": "^2.47.0", + "postcss": "^8.4.5", + "postcss-import": "^14.0.2", + "rollup": "^2.63.0", "rollup-plugin-hot": "^0.1.1", - "rollup-plugin-livereload": "^2.0.0", + "rollup-plugin-livereload": "^2.0.5", "rollup-plugin-svelte": "^7.1.0", - "rollup-plugin-svelte-hot": "^1.0.0-7", + "rollup-plugin-svelte-hot": "^1.0.0-8", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-workbox": "^5.2.1", - "spank": "^1.7.0", + "spank": "^1.9.0", "spassr": "^2.6.0", - "svelte": "^3.38.2", - "svelte-preprocess": "^4.7.3", + "svelte": "^3.45.0", + "svelte-preprocess": "^4.10.1", "tossr": "^1.4.2" }, "routify": { diff --git a/rollup.config.js b/rollup.config.js index 63a6b3d..fb4c67b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -53,8 +53,7 @@ export default { hot: isNollup, preprocess: [ autoPreprocess({ - postcss: { plugins: [postcssImport()] }, - defaults: { style: 'postcss' } + postcss: { plugins: [postcssImport()] } }) ] }), diff --git a/src/components/chapter.svelte b/src/components/chapter.svelte index 152b063..07610dd 100644 --- a/src/components/chapter.svelte +++ b/src/components/chapter.svelte @@ -26,13 +26,13 @@