Update app.js

This commit is contained in:
Namhyeon Go 2023-12-11 14:22:00 +09:00 committed by GitHub
parent 871fe130af
commit 0283ad1bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
app.js
View File

@ -218,9 +218,10 @@ function require(FN) {
var __filename__ = (function(getCurrentScriptDirectory, fileExists, path) {
var basepath = getCurrentScriptDirectory();
var filepaths = [
path.join(basepath, FN),
path.join(basepath, "bower_components", FN),
path.join(basepath, "node_modules", FN)
path.join(basepath, FN), // WelsonJS base library
path.join(basepath, "Scripts", FN) // NuGet
path.join(basepath, "bower_components", FN), // Bower
path.join(basepath, "node_modules", FN), // NPM
];
var filename = filepaths[0];