Compare commits

...

4 commits

Author SHA1 Message Date
69cbc2d022 0.16.0 2024-06-10 03:41:44 +00:00
1752bf7fb3 Fixed epic typo. 2024-06-10 03:41:41 +00:00
0cf468407f 0.15.0 2024-06-10 03:38:22 +00:00
748c10642e Fixed epic missing require. 2024-06-10 03:38:18 +00:00
4 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@flashwave/assproc",
"version": "0.14.0",
"version": "0.16.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@flashwave/assproc",
"version": "0.14.0",
"version": "0.16.0",
"license": "BSD-3-Clause",
"dependencies": {
"@swc/core": "^1.5.25",

View file

@ -1,6 +1,6 @@
{
"name": "@flashwave/assproc",
"version": "0.14.0",
"version": "0.16.0",
"description": "Personal frontend asset processing tool",
"main": "./src/index.js",
"scripts": {

View file

@ -60,7 +60,7 @@ module.exports.folder = async (root, options) => {
const bvTarget = args.shift();
const bvSourceName = trimEnd(args.join(' '), ';');
const bvSource = options.vars[bvSourceName];
if(typeof bvSource !== 'objects' || bvSource === null)
if(typeof bvSource !== 'object' || bvSource === null)
throw `INVALID VARS SOURCE: ${bvSourceName}`;
const bvProps = [];

View file

@ -1,3 +1,4 @@
const fs = require('fs');
const { minify: htmlminify } = require('html-minifier-terser');
const { join: pathJoin, dirname } = require('path');
const { strtr, shortHash, writeFile } = require('../utils.js');