Build a Gutenberg block
-
Dear all,
I have written some custom functions in separate files (outside the block’s folder) and imported them to use in the custom block functionality (in
edit.js
file). But when I built it, I see these files488.js
and779.js
in thebuild
folder (the screenshot). I understand that these files are due to my imports. I built it usingwp-scripts
without any other custom configuration.My question is, is there a way to not have these random numbers of JS files (I mean they will be minified in
index.js
file e.g.), but if not, is there a way to add names to them (to not have random numbered JS files)?Thanks in advance,
Vahan
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.