styimat 3.4.1 → 3.4.2
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/convert-styimat.js +3 -3
- package/package.json +1 -1
package/bin/convert-styimat.js
CHANGED
|
@@ -174,9 +174,9 @@ async function convertAndOutput(inputContent, outputFile) {
|
|
|
174
174
|
async function convertStyimat(inputContent) {
|
|
175
175
|
// 尝试从多个位置加载 styimat.js
|
|
176
176
|
const possiblePaths = [
|
|
177
|
-
path.join(__dirname, 'styimat.js'),
|
|
178
|
-
path.join(process.cwd(), 'styimat.js'),
|
|
179
|
-
path.join(process.cwd(), 'node_modules', 'styimat', 'styimat.js')
|
|
177
|
+
path.join(__dirname, 'dist', 'styimat.js'),
|
|
178
|
+
path.join(process.cwd(), 'dist', 'styimat.js'),
|
|
179
|
+
path.join(process.cwd(), 'node_modules', 'styimat', 'dist', 'styimat.js')
|
|
180
180
|
];
|
|
181
181
|
|
|
182
182
|
let styimatModule = null;
|