Skip to content

Commit

Permalink
adapt minify
Browse files Browse the repository at this point in the history
  • Loading branch information
webzwo0i committed Jul 5, 2023
1 parent c03d567 commit f1bc65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/utils/Minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const minify = async (req, res) => {
// Go straight into node_modules
// Avoid `require.resolve()`, since 'mustache' and 'mustache/index.js'
// would end up resolving to logically distinct resources.
filename = path.join('../node_modules/', library, libraryPath);
filename = path.join('../../node_modules/', library, libraryPath);
}
}
const [, testf] = /^plugins\/ep_etherpad-lite\/(tests\/frontend\/.*)/.exec(filename) || [];
Expand Down

0 comments on commit f1bc65b

Please sign in to comment.