hugo/resources/resource_transformers/js
Bjørn Erik Pedersen cf73cc2ece js: Fix import order for ./foo when both ./foo.js and ./foo/index.js exists
This is in line with how both Node and ESBuild's native import resolver does it.

The ambiguous situations above were discovered trying to build AlpineJS v3.

Note that the above was never an issue if you used `./foo.js` and similar to import the component.

Fixes #8945
2021-09-01 10:47:41 +02:00
..
build.go hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
build_test.go Make js.Build fully support modules 2020-11-03 13:04:37 +01:00
options.go js: Fix import order for ./foo when both ./foo.js and ./foo/index.js exists 2021-09-01 10:47:41 +02:00
options_test.go js: Fix import order for ./foo when both ./foo.js and ./foo/index.js exists 2021-09-01 10:47:41 +02:00