react-responsive-tools 2.0.13 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -26,6 +26,10 @@ const mergeBreakpointConfigs = async () => {
|
|
26
26
|
try {
|
27
27
|
console.log(`User config file found at: ${userConfigPath}`);
|
28
28
|
const userConfig = await import(userConfigPath);
|
29
|
+
console.log(`Loaded user config: ${JSON.stringify(userConfig, null, 2)}`);
|
30
|
+
console.log(`Default horizontal breakpoints: ${JSON.stringify(defaultHorizontalBreakpoints, null, 2)}`);
|
31
|
+
console.log(`Default vertical breakpoints: ${JSON.stringify(defaultVerticalBreakpoints, null, 2)}`);
|
32
|
+
|
29
33
|
console.log(`User horizontal breakpoints: ${JSON.stringify(userConfig.HORIZONTAL_BREAKPOINTS || {}, null, 2)}`);
|
30
34
|
console.log(`User vertical breakpoints: ${JSON.stringify(userConfig.VERTICAL_BREAKPOINTS || {}, null, 2)}`);
|
31
35
|
|
@@ -43,7 +47,7 @@ const mergeBreakpointConfigs = async () => {
|
|
43
47
|
}
|
44
48
|
|
45
49
|
const mergedConfigContent = `
|
46
|
-
//
|
50
|
+
// breakpoints.config.mjs
|
47
51
|
const HORIZONTAL_BREAKPOINTS = ${JSON.stringify(horizontalBreakpoints, null, 2)};
|
48
52
|
|
49
53
|
const VERTICAL_BREAKPOINTS = ${JSON.stringify(verticalBreakpoints, null, 2)};
|