Skip to content

Commit

Permalink
put github pages in /docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tofsjonas committed Nov 18, 2024
1 parent d65619c commit 3331eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sortable-tablesort",
"version": "4.0.0",
"description": "A tiny, Vanilla/Plain JavaScript table sorter",
"private": true,
"private": false,
"type": "module",
"main": "dist/sortable.min.js",
"module": "dist/esm/sortable.min.js",
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function createHTML(type: (typeof DIST_TYPES)[number], minified: boolean = false
template = template.replace('</body>', `${scripts}\n</body>`)

// Save the file
const outputPath = type === 'demo' ? 'demo/index.html' : `dist/${type}${minified ? '.min' : ''}.html`
const outputPath = type === 'demo' ? 'docs/index.html' : `dist/${type}${minified ? '.min' : ''}.html`

// if no such directory, create it
if (!fs.existsSync(path.dirname(outputPath))) {
Expand Down

0 comments on commit 3331eb9

Please sign in to comment.