Questions & Answers

What does the filename1.filename2.fileType notation mean?

I've been following a webpack tutorial ( and came across the this line of code:

<script src="./print.bundle.js"></script>.

where print.js and and bundle.js are files in the same directory. What does this fileName1.fileName2.fileType notation mean?

I tried searching for an answer myself but couldn't find anything

2023-01-24 23:52:05
It's the name of a file that the page wants to load. In other words, that expects that there's a file called "print.bundle.js".
2023-01-24 23:52:05
You have have . in a file name. It is just that, part of the name.
2023-01-24 23:52:05
Thanksguys, I thought it was a new type of filepath but realized it was just a filename with a dot in it that was to be created later in the tutorial, my bad
Answers(0) :