Created by: anthonypz
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:
- Update the URL to point to the latest doc pages.
- Use the
type="module"
HTML attribute to reference a module. Source: Parcel migration - The
--out-dir <dir>
CLI parameter has been changed to--dist-dir <dir>
. Source: Parcel CLI - 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. This issue may warrant additional attention.