Feat : login sys
Some checks failed
Build and Push Docker Images / docker (push) Failing after 11s

This commit is contained in:
jeanotx32
2026-05-18 22:44:02 -04:00
parent cf0b3f0acf
commit d799ae503c
6808 changed files with 856331 additions and 45 deletions

View File

@@ -0,0 +1,17 @@
"use strict"
module.exports = function (layer, node, state, options) {
layer.forEach((layerPart, i) => {
if (layerPart.trim() === "") {
if (options.nameLayer) {
layer[i] = options
.nameLayer(state.anonymousLayerCounter++, state.rootFilename)
.toString()
} else {
throw node.error(
`When using anonymous layers in @import you must also set the "nameLayer" plugin option`
)
}
}
})
}