Added the ability to detect and warn users about bidirectional Unicode characters. Fixes #7002

This commit is contained in:
Akshay Joshi
2022-05-23 16:04:21 +05:30
parent 50b1ba5c80
commit 4f7bcc2919
7 changed files with 309 additions and 4 deletions

View File

@@ -338,6 +338,9 @@ var getThemeWebpackConfig = function(theme_name) {
modules: ['node_modules', '.'],
extensions: ['.js'],
unsafeCache: true,
fallback: {
'fs': false
},
},
// Watch mode Configuration: After initial build, webpack will watch for
// changes in files and compiles only files which are changed,
@@ -562,6 +565,9 @@ module.exports = [{
modules: ['node_modules', '.'],
extensions: ['.js', '.jsx', '.ts', '.tsx'],
unsafeCache: true,
fallback: {
'fs': false
},
},
// Watch mode Configuration: After initial build, webpack will watch for
// changes in files and compiles only files which are changed,