Skip to content

Commit

Permalink
fix build missing dist
Browse files Browse the repository at this point in the history
  • Loading branch information
june07 committed Oct 17, 2024
1 parent 94c3d96 commit a1ebe07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mfa",
"version": "1.1.2",
"version": "1.1.3",
"main": "sw.js",
"scripts": {
"build": "npm run build:deps && npm run convert-sw && npm run zip",
Expand Down
3 changes: 3 additions & 0 deletions utils/update-manifest-and-zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function writeChromeManifest(originalManifest) {

archive.pipe(output)
archive.directory('./src', 'src')
archive.directory('./dist', 'dist')
archive.directory('./icon', 'icon')
archive.file(chromeManifestPath, { name: 'manifest.json' })
archive.directory('./_locales', '_locales')
Expand Down Expand Up @@ -76,6 +77,7 @@ function writeEdgeManifest(originalManifest) {

archive.pipe(output)
archive.directory('./src', 'src')
archive.directory('./dist', 'dist')
archive.directory('./icon', 'icon')
archive.file(edgeManifestPath, { name: 'manifest.json' })
archive.directory('./_locales', '_locales')
Expand Down Expand Up @@ -123,6 +125,7 @@ function writeFirefoxManifest(originalManifest) {

archive.pipe(output)
archive.directory('./src', 'src')
archive.directory('./dist', 'dist')
archive.directory('./icon', 'icon')
archive.file(firefoxManifestPath, { name: 'manifest.json' })
archive.directory('./_locales', '_locales')
Expand Down

0 comments on commit a1ebe07

Please sign in to comment.