Skip to content

PWA#92

Open
sozidatel wants to merge 3 commits into
masterfrom
pwa
Open

PWA#92
sozidatel wants to merge 3 commits into
masterfrom
pwa

Conversation

@sozidatel

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread web/package.json
"prebuild": "rm -rf dist/",
"build": "NODE_ENV=production ../node_modules/.bin/parcel build ../src/index.prod.njk --public-url=./ --detailed-report --no-source-maps",
"build:parcel": "NODE_ENV=production ../node_modules/.bin/parcel build ../src/index.prod.njk --public-url=./ --no-source-maps",
"build:add-manifest": "cp ../src/manifest.json dist/ && cp -r ../src/favicons dist/ && sed 's|</head>|<link rel=\"manifest\" href=\"manifest.json\"></head>|' dist/index.prod.html > dist/index.prod.tmp && mv dist/index.prod.tmp dist/index.prod.html",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

кажется, что parcel должен сам в билд включать и фавиконки и манифест, потому что в html они заявлены 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@troggy,
А он включал. И перегрёбывал манифест, будто это модуль в JS :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants