From 2c2cd301b6811e7ebb7e7dbe281d33fcbeec949e Mon Sep 17 00:00:00 2001 From: Thorn Walli Date: Sat, 28 Dec 2024 19:16:56 +0100 Subject: [PATCH] fix(source-list): fix export --- src/{ => runtime}/externals/create-sort.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/{ => runtime}/externals/create-sort.js (99%) diff --git a/src/externals/create-sort.js b/src/runtime/externals/create-sort.js similarity index 99% rename from src/externals/create-sort.js rename to src/runtime/externals/create-sort.js index 304185c7d8..71c03da6fd 100644 --- a/src/externals/create-sort.js +++ b/src/runtime/externals/create-sort.js @@ -147,7 +147,7 @@ function _testIsPrint(a, b) { * @param {boolean} [configuration.unitlessMqAlwaysFirst] * @returns {(function(string, string): number)|*} */ -module.exports = function createSort(configuration) { +export default function createSort(configuration) { const config = configuration || {}; const UNITLESS_MQ_ALWAYS_FIRST = config.unitlessMqAlwaysFirst; @@ -312,4 +312,4 @@ module.exports = function createSort(configuration) { }; return sortCSSmq; -}; +}