Skip to content

Commit

Permalink
trying to fix ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Jul 26, 2024
1 parent 8da1788 commit 939d6aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.DS_Store
node_modules
dist
dist
!app/dist/build/es6/node_modules
!app/dist/build/es6/node_modules/**
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"scripts": {
"start": "cd app && hax11ty serve",
"preinstall": "cd src/custom && yarn install && cd ../..",
"clean-up-pre": "rm -rf dist/build",
"clean-up-pre": "rm -rf dist && mkdir dist",
"clean-up-post": "rm dist/assets/styles.css && cp src/styles.css dist/assets/styles.css && rm -rf dist/custom && cp -R src/custom dist/custom",
"build:cdn": "yarn run clean-up-pre && cd src/custom && yarn run build && cd ../../app && env HAXCMS_CDN=true env HAXCMS_SERVICE_WORKER=true env HAXCMS_GITHUB=true hax11ty build && yarn run clean-up-post",
"build": "yarn run clean-up-pre && cd src/custom && yarn run build && cd ../../app && env HAXCMS_CONTEXT=haxcms env HAXCMS_SERVICE_WORKER=true env HAXCMS_GITHUB=true hax11ty build && yarn run clean-up-post"
Expand Down

0 comments on commit 939d6aa

Please sign in to comment.