> For the complete documentation index, see [llms.txt](https://openai.gitbook.io/code-cheatsheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openai.gitbook.io/code-cheatsheets/js/bundlers/parcel.md).

# Parcel

Bundling without configuration

```bash
npm i parcel
```

Simple building

```json
  "scripts": {
    "build": "parcel build src/js/main.js -d src/build/ -o main.js",
    "watch": "parcel watch src/js/main.js -d src/build/ -o main.js",
```

If using inside a chrome plugin, use `--no-hmr` flag to not do hot module replacement b/c you cant so will have error

## Debugging

```
rm -rf .parcel-cache
```
