@massimo-cassandro/minimo 1.24.10 → 1.24.11

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.
@@ -56,9 +56,9 @@ export function parseParams(config_params = null, work_dir = process.cwd()) {
56
56
  // da un raster non è possibile ricavare una favicon vettoriale
57
57
  params.generate_svg_favicon = getImgExt(params.small_src_img?? params.src_img) === 'svg';
58
58
 
59
- // creazione dir output se non esiste
59
+ // creazione dir output se non esiste (incluse le dir intermedie mancanti)
60
60
  if (!fs.existsSync(params.output_dir)){
61
- fs.mkdirSync(params.output_dir);
61
+ fs.mkdirSync(params.output_dir, { recursive: true });
62
62
  }
63
63
 
64
64
  // definizione snippet_path e creazione dir se necessario
@@ -69,7 +69,7 @@ export function parseParams(config_params = null, work_dir = process.cwd()) {
69
69
  params.snippet_path = params.snippet_path?? params.output_dir;
70
70
 
71
71
  if (!params.snippet_target_file && !fs.existsSync(params.snippet_path )){
72
- fs.mkdirSync(params.snippet_path );
72
+ fs.mkdirSync(params.snippet_path, { recursive: true });
73
73
  }
74
74
 
75
75
  params.snippet_language = params.snippet_language.toLowerCase();
@@ -364,7 +364,6 @@ const config = {
364
364
  ]
365
365
  ),
366
366
 
367
- // TODO author dinamico https://docs.npmjs.com/cli/v11/configuring-npm/package-json#people-fields-author-contributors
368
367
  // =>> plugins: BannerPlugin
369
368
  new webpack.BannerPlugin({
370
369
  banner: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/minimo",
3
- "version": "1.24.10",
3
+ "version": "1.24.11",
4
4
  "description": "Light css framework & utilities",
5
5
  "type": "module",
6
6
  "main": "./index.js",