From 7164ef595147d997068b953d0e8bd19add0db5f9 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Fri, 13 Jun 2025 23:28:57 +0530 Subject: Using es-modules for webpack configuration. --- config/webpack/loader/to-string-loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/webpack/loader/to-string-loader.js') diff --git a/config/webpack/loader/to-string-loader.js b/config/webpack/loader/to-string-loader.js index cf26b28..248574a 100644 --- a/config/webpack/loader/to-string-loader.js +++ b/config/webpack/loader/to-string-loader.js @@ -1,4 +1,4 @@ -module.exports = function(source) { +export default function(source) { source = source .replaceAll("\\", "\\\\") .replaceAll("`","\\`") -- cgit v1.2.3