aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/utils/shared-modules.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/utils/shared-modules.js')
-rw-r--r--config/webpack/utils/shared-modules.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/webpack/utils/shared-modules.js b/config/webpack/utils/shared-modules.js
index 74ee555..c9c9618 100644
--- a/config/webpack/utils/shared-modules.js
+++ b/config/webpack/utils/shared-modules.js
@@ -1,5 +1,5 @@
-import path from "path";
import fs from "fs";
+import path from "path";
/**
* Scans `src/shared/` and returns the list of shared module filenames
@@ -8,5 +8,5 @@ import fs from "fs";
* @returns {string[]} e.g. `["generate-web-page", "intercept-jquery-ajax", …]`
*/
export default fs.readdirSync(path.resolve("src/shared"))
- .filter(sharedModule => !sharedModule.endsWith("import-shared.js"))
- .map(sharedModule => sharedModule.substring(0, sharedModule.length - 3));
+ .filter((sharedModule) => !sharedModule.endsWith("import-shared.js"))
+ .map((sharedModule) => sharedModule.substring(0, sharedModule.length - 3));