Skip to content

Commit

Permalink
Fix webpack-test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtuchkin committed Jul 13, 2020
1 parent efbad0a commit 9627ecf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"private": true,
"version": "1.0.0",
"scripts": {
"!note1": "NOTE: We do `npm pack` of the main iconv-lite package followed by installing it to create a copy of the package (not symlink).",
"!note2": "This is needed because webpack4/watchpack1.7 crashes when trying to enumerate circular symlink.",
"preinstall": "mv $(npm pack -pq ../../) iconv-lite.tgz",
"postinstall": "rm iconv-lite.tgz",
"test": "karma start"
},
"devDependencies": {
Expand All @@ -15,6 +19,6 @@
"webpack": "^4.43.0"
},
"dependencies": {
"iconv-lite": "file:../.."
"iconv-lite": "file:iconv-lite.tgz"
}
}

0 comments on commit 9627ecf

Please sign in to comment.