hanami/assets

Does not support files with multiple dots in name

Closed this issue · 1 comments

The assets compiler will only support files with no dots in the pre-extension filename.

e.g. foundation.js.es6 works fine while foundation.tabs.js.es6 or foundation.util.box.js.es6 will fail.

These filenames are used in the ZURB Foundation framework ( http://foundation.zurb.com/ ) js files. (While their css files use dashes... go figure...)

Attempted to fix this in #62 but cannot get it working. The PR contains a failing test and the build shows the precompiler test exploding.

I do not believe that a simple regex tweak is good enough but needs more fundamental changes.

Closing this as it requires complex changes in how we load assets.