Skip to content

Commit

Permalink
Add release JSON files to the dist folder
Browse files Browse the repository at this point in the history
Parcel needs to know about them.
Add a raw transformer or parcel tries to convert it to Javascript.
  • Loading branch information
raoulvdberge committed Dec 23, 2023
1 parent 448a209 commit 63d7f49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.json": ["@parcel/transformer-raw"]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "parcel build 'output/**/**.html'"
"build": "parcel build 'output/**/**.html' 'output/**/**.json'"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 63d7f49

Please sign in to comment.