Revision 1fed10dfb15aeb6c09b9c7f81ffe9214186ff48a authored by Anthony Perez on 16 March 2022, 20:51:52 UTC, committed by Mark Otto on 13 April 2022, 04:14:54 UTC
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.
1 parent 74be17e
History
File Mode Size
.github
build
dist
js
nuget
scss
site
.babelrc.js -rw-r--r-- 162 bytes
.browserslistrc -rw-r--r-- 175 bytes
.bundlewatch.config.json -rw-r--r-- 1.3 KB
.cspell.json -rw-r--r-- 1.9 KB
.editorconfig -rw-r--r-- 167 bytes
.eslintignore -rw-r--r-- 73 bytes
.eslintrc.json -rw-r--r-- 1.3 KB
.gitattributes -rw-r--r-- 177 bytes
.gitignore -rw-r--r-- 442 bytes
.stylelintignore -rw-r--r-- 55 bytes
.stylelintrc -rw-r--r-- 637 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 13.4 KB
SECURITY.md -rw-r--r-- 471 bytes
composer.json -rw-r--r-- 667 bytes
config.yml -rw-r--r-- 3.5 KB
package-lock.json -rw-r--r-- 699.2 KB
package.js -rw-r--r-- 484 bytes
package.json -rw-r--r-- 9.0 KB

README.md

back to top