fast-ejs-builder 0.0.5 → 1.0.0
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 +1 -1
- package/src/build.js +3 -1
package/package.json
CHANGED
package/src/build.js
CHANGED
|
@@ -228,9 +228,11 @@ async function ejsbuild(code = 0) {
|
|
|
228
228
|
|
|
229
229
|
const junk = _tree(config.build.output).filter(
|
|
230
230
|
(f) =>
|
|
231
|
+
!f.isDir &&
|
|
231
232
|
f.fullpath != _p(configTailwindOutput()) &&
|
|
232
|
-
!built.find((b) => b
|
|
233
|
+
!built.find((b) => b == f.fullpath),
|
|
233
234
|
);
|
|
235
|
+
|
|
234
236
|
for (let file of junk) {
|
|
235
237
|
fs.rmSync(file.fullpath, { force: true, recursive: true });
|
|
236
238
|
}
|