2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 14:50:56 +00:00

fix: Regex for windows path

This commit is contained in:
Faris Ansari 2019-12-16 16:57:28 +05:30
parent edda250d6e
commit 655bb8f295

View File

@ -22,8 +22,8 @@ module.exports = {
config.plugins.push(
// https://github.com/knex/knex/issues/1446#issuecomment-537715431
new webpack.ContextReplacementPlugin(
/knex\/lib\/dialects/,
/sqlite3\/index.js/
/knex[/\\]lib[/\\]dialects/,
/sqlite3[/\\]index.js/
)
);