@salty-css/core 0.0.1-alpha.338 → 0.0.1-alpha.339
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/main.js +2 -2
- package/package.json +1 -1
package/bin/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Command } from "commander";
|
|
|
2
2
|
import { existsSync, watch } from "fs";
|
|
3
3
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
4
4
|
import { join, relative, parse, format } from "path";
|
|
5
|
-
import
|
|
5
|
+
import ejs from "ejs";
|
|
6
6
|
import { p as pascalCase } from "../pascal-case-F3Usi5Wf.js";
|
|
7
7
|
import { l as logger, a as logError, SaltyCompiler } from "../compiler/as-class.js";
|
|
8
8
|
import { exec } from "child_process";
|
|
@@ -50,7 +50,7 @@ async function main() {
|
|
|
50
50
|
};
|
|
51
51
|
const readTemplate = async (fileName, options) => {
|
|
52
52
|
const { default: file } = await files[fileName];
|
|
53
|
-
const content = render(file, options);
|
|
53
|
+
const content = ejs.render(file, options);
|
|
54
54
|
return { fileName, content };
|
|
55
55
|
};
|
|
56
56
|
const readRCFile = async () => {
|