diff options
author | Anthony Perez <43166263+anthonypz@users.noreply.github.com> | 2022-03-16 23:51:52 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2022-04-13 07:14:54 +0300 |
commit | 1fed10dfb15aeb6c09b9c7f81ffe9214186ff48a (patch) | |
tree | f17a274e2db126470c834b31d77ea83cf0bb047a /package-lock.json | |
parent | 74be17edef89275ad71c1448b11c72a328c8eeb5 (diff) |
Update parcel.md
Following the Parcel v1 installation guide seems to install the latest version of Parcel (v2), which makes several instructions in this guide throw errors. Therefore, I have updated the guide to work with version 2 of Parcel.
Change Details:
1) Update the URL to point to the latest doc pages.
2) Use the `type="module"` HTML attribute to reference a module [migration](https://parceljs.org/getting-started/migration/#code-changes)
3) The `--out-dir <dir>` CLI parameter has been changed to `--dist-dir <dir>` [CLI](https://parceljs.org/features/cli/#parameters)
4) For a reason I'm unsure of, `--experimental-scope-hoisting` throws the following error: `error: unknown option '--experimental-scope-hoisting'`, so I removed it to get the build to work.
Diffstat (limited to 'package-lock.json')
0 files changed, 0 insertions, 0 deletions