Skip to content

Commit

Permalink
Merge pull request #431 from holochain/build/rollup-builds-ts
Browse files Browse the repository at this point in the history
build: use rollup to build typescript, minify js bundles
  • Loading branch information
MatthewNichols authored Mar 9, 2024
2 parents a2ffc83 + a8f3c78 commit 0354c41
Show file tree
Hide file tree
Showing 6 changed files with 1,334 additions and 4,321 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 0354c41

Please sign in to comment.