Skip to content

Commit

Permalink
chore: prepare for GH pages
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna committed Sep 10, 2024
1 parent b9a7278 commit d3143c2
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 32 deletions.
56 changes: 28 additions & 28 deletions demo/bundle.js → docs/bundle.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lint:ts": "rm -rf build && tsc && diff -ur types build/lib",
"lint:fix": "eslint 'lib/**/*.js' 'test/**/*.js' --fix",
"gen:types": "rm -rf build types && tsc && mv build/lib types",
"demo": "webpack --watch"
"docs": "webpack --watch"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"allowSyntheticDefaultImports": true,
"lib": ["ES2020"]
},
"exclude": ["node_modules", "demo", "types"]
"exclude": ["node_modules", "docs", "types"]
}
4 changes: 2 additions & 2 deletions webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const path = require('path');

module.exports = {
mode: 'development',
entry: './demo/index.js',
entry: './docs/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'demo'),
path: path.resolve(__dirname, 'docs'),
},
};

0 comments on commit d3143c2

Please sign in to comment.