Compare commits
4 commits
aa2a84860e
...
69cbc2d022
Author | SHA1 | Date | |
---|---|---|---|
69cbc2d022 | |||
1752bf7fb3 | |||
0cf468407f | |||
748c10642e |
4 changed files with 5 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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 = [];
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue