Skip to content

Commit

Permalink
build: use rollup to build typescript, minify js bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Mar 4, 2024
1 parent a2ffc83 commit 3ea976a
Show file tree
Hide file tree
Showing 5 changed files with 1,333 additions and 4,320 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ from indexing you can use the `data-pagefind-ignore` attribute. See (https://pag
- Cleans `_site` dir
- Builds, [autoprefixes](https://github.com/postcss/autoprefixer) and minifies the SCSS
- Bundles the JS modules
- Builds the Typescript to JS
- Minifies the JS with Terser
- Saves the module to `_site/scripts/` dir
- Builds 11ty with links to the bundled JS and minified CSS
- `clean`: Cleans out the `_site` dir
- `build:search-index`: builds the index files for the search function. This is called as pat of the build process, but if you want the search to work during local dev then you need to run this once, or you can just run `build` before you start the `dev` script.
Expand Down
Loading

0 comments on commit 3ea976a

Please sign in to comment.