Skip to content

Commit

Permalink
Move content.txt into pages
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-migdal committed Feb 21, 2025
1 parent 5cbc0a6 commit 0fd2dc3
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 29 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions V3/pages/skeleton/components/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const menu_area = document.createElement('div')!;
const menu_pages = document.createElement('div')!;
const menu_page = document.createElement('div')!;

menu_page.classList.add('menu_page');
menu_page .classList.add('menu_page');
menu_pages.classList.add('menu_pages');
menu_area.classList.add('menu_area');
menu_area .classList.add('menu_area');


// Build page menu
Expand All @@ -28,7 +28,7 @@ type PageMenuNode = MenuNode<{html: HTMLElement}>;
type PagesMenuNode = MenuNode<{dir: string}>;

// @ts-ignore
import content from "!!raw-loader!/content.txt";
import content from "!!raw-loader!/V3/pages/content.txt";

function buildPagesMenu(content: string) {

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dist/prod/V3/fr/conception/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/conception/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/content/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/content/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/define/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/define/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/getting-started/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/getting-started/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/manipulate/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/manipulate/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/signals/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/fr/signals/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/playground/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/playground/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/skeleton/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/prod/V3/skeleton/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//export {default as V2} from "V2";
export {default as default} from "../V3";
export {default as default} from "./V3";
12 changes: 5 additions & 7 deletions todo.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
-> add localhost domains
-> fix prod links...
-> gitignore dev.
-> CI/CD (build prod) => gitignore prod
-> https://stackoverflow.com/questions/74727745/github-workflow-where-does-npm-ci-store-the-node-modules-folder

-> share JS/CSS ressources...
-> link issue... (github pages grrrr)
-> declare migdal.ovh subdomains ? (resolve subdirs issues in links...)
-> liss-root
-> liss-dev (remove /dist/dev/ in URLs)
-> liss-prod

-> CI/CD (build prod) => gitignore prod
-> https://stackoverflow.com/questions/74727745/github-workflow-where-does-npm-ci-store-the-node-modules-folder

-> mv compos + hv to libs/
-> dev
-> CodeBlock (cf .dia)
-> changes => set value internally...
Expand Down Expand Up @@ -76,7 +74,7 @@ Highlight.js : https://highlightjs.org/download
- index.js (51kb => 11kB)
- define/index.js 170kB => 86kB (37kB => 25kB)

V2 => V3: 6MB => 1Mo (24Mo => 5Mo)
V2 => V3: 6MB => 1Mo (24Mo => 5Mo => 4.3Mo)
173kB => 51kB => 11kB
- avoid repeating shared JS bib...

Expand Down

0 comments on commit 0fd2dc3

Please sign in to comment.