It would be cool if we could use variables with the require and include macros, but it looks like they can only accept string, number, boolean and objects at the moment. For instance, doing this:
@include(htmlWebpackPlugin.options.filename)
results in...
ERROR in Error: Child compilation failed:
Module not found: Error: Can't resolve './NaN' in 'C:\static\outkit-docs\src\templates\docs':
Error: Can't resolve './NaN' in 'C:\static\outkit-docs\src\templates\docs'
Does anyone know of a workaround for this?