Skip to content

Commit 5c995c2

Browse files
committed
fix: prod build failure
1 parent bd16971 commit 5c995c2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ test/thirdparty/jasmine-reporters
5151
/src/thirdparty/bugsnag-performance.min.js
5252
/src/thirdparty/bugsnag-performance.min.js.map
5353
/src/thirdparty/no-minify/
54-
/src/thirdparty/lru-cache.js*
5554

5655
# ignore files copied from node_modules to src/thirdparty
5756
# https://github.com/phcode-dev/phoenix/issues/10

gulpfile.js/thirdparty-lib-copy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ let copyThirdPartyLibs = series(
134134
renameFile.bind(renameFile, 'node_modules/idb-keyval/dist/index.js', 'idb-keyval.js', 'src/thirdparty/'),
135135
copyLicence.bind(copyLicence, 'node_modules/idb-keyval/LICENCE', 'idb-keyval'),
136136
// lru-cache
137-
renameFile.bind(renameFile, 'node_modules/lru-cache/dist/esm/index.js', 'lru-cache.js', 'src/thirdparty/'),
138-
renameFile.bind(renameFile, 'node_modules/lru-cache/dist/esm/index.js.map', 'lru-cache.js.map', 'src/thirdparty/'),
137+
renameFile.bind(renameFile, 'node_modules/lru-cache/dist/esm/index.js', 'lru-cache.js', 'src/thirdparty/no-minify/'),
138+
renameFile.bind(renameFile, 'node_modules/lru-cache/dist/esm/index.js.map', 'lru-cache.js.map', 'src/thirdparty/no-minify/'),
139139
copyLicence.bind(copyLicence, 'node_modules/lru-cache/LICENSE', 'lru-cache'),
140140
// bootstrap
141141
copyFiles.bind(copyFiles, ['node_modules/bootstrap/dist/js/bootstrap.min.js',

src/phoenix/shell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* **/
2929
import initVFS from "./init_vfs.js";
3030
import ERR_CODES from "./errno.js";
31-
import { LRUCache } from '../thirdparty/lru-cache.js';
31+
import { LRUCache } from '../thirdparty/no-minify/lru-cache.js';
3232

3333
initVFS();
3434

0 commit comments

Comments
 (0)