create-antd-skin 1.1.2 → 1.1.3
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/bin/layout.js +6 -1
- package/package.json +1 -1
package/bin/layout.js
CHANGED
|
@@ -104,7 +104,12 @@ async function patchLayoutFile(filePath) {
|
|
|
104
104
|
if (!changed && hasWardenSkinImport)
|
|
105
105
|
return;
|
|
106
106
|
const output = (0, generator_1.default)(ast, {
|
|
107
|
-
retainLines:
|
|
107
|
+
retainLines: false,
|
|
108
|
+
compact: false,
|
|
109
|
+
concise: false,
|
|
110
|
+
jsescOption: {
|
|
111
|
+
minimal: true,
|
|
112
|
+
},
|
|
108
113
|
});
|
|
109
114
|
await fs_extra_1.default.writeFile(filePath, output.code);
|
|
110
115
|
console.log("✔ updated:", path_1.default.relative(process.cwd(), filePath));
|