I am really trying to link different types of files .erb. I would like to be able to communicate .css.erband .scss.erbwith CSS, .html.erbHTML and .js.erbwith JavaScript. Linking all files .erbto HTML is great for HTML files, but it doesn't work very well for JavaScript, CSS, or SCSS.
I tried putting css.erbetc. in the "User ext .:" field in the "Style Configurator" dialog box, but it doesn't seem to pick the files correctly.
I am skeptical that this is possible, because I think that the engine matches the last .to the end of the file name, and not, for example, something like filename.endswith(ext), but I thought it was worth asking, I found a way to make it work.
Any thoughts?
source
share