Skip to content

Commit

Permalink
Disable parcel scope hoisting
Browse files Browse the repository at this point in the history
  • Loading branch information
tung2744 committed Dec 22, 2023
1 parent 12ba81a commit 2fb046f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"test": "jest",
"start": "parcel serve --port 1234 --no-cache './src/*.html'",
"build": "PARCEL_BUNDLE_ANALYZER=1 parcel build --no-cache './src/*.html'",
"build": "PARCEL_BUNDLE_ANALYZER=1 parcel build --no-cache --no-scope-hoist './src/*.html'",
"clean": "rm -rf ./dist/ ./parcel-bundle-reports/ && mkdir ./dist/ && touch ./dist/.gitkeep",
"typecheck": "tsc",
"fmt": "prettier --list-different --write './src/**/*.{js,ts,jsx,tsx,css,scss,html}'",
Expand Down

0 comments on commit 2fb046f

Please sign in to comment.