Skip to content

Commit b2133d3

Browse files
authored
[PHP] Fix php import extensions (#4238)
1 parent fd48a61 commit b2133d3

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/Fable.Cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
### Fixed
1919

20+
* [PHP] Fix php import extensions (by @MangelMaxime)
2021
* [TS] Fix #3973 Typescript imports file extension (by @ncave)
2122
* [TS] Fix support for abstract classes and members (by @ncave)
2223
* [TS] Fix getters, setters, indexers in interfaces (by @ncave)

src/Fable.Compiler/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
### Fixed
1919

20+
* [PHP] Fix php import extensions (by @MangelMaxime)
2021
* [TS] Fix #3973 Typescript imports file extension (by @ncave)
2122
* [TS] Fix support for abstract classes and members (by @ncave)
2223
* [TS] Fix getters, setters, indexers in interfaces (by @ncave)

src/Fable.Transforms/Transforms.Util.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,8 @@ module AST =
11311131
| Rust -> com.LibraryDir + "/" + moduleName + ".rs"
11321132
| Dart -> com.LibraryDir + "/" + moduleName + ".dart"
11331133
| TypeScript -> com.LibraryDir + "/" + moduleName + ".ts"
1134-
| _ -> com.LibraryDir + "/" + moduleName + ".js"
1134+
| JavaScript -> com.LibraryDir + "/" + moduleName + ".js"
1135+
| Php -> com.LibraryDir + "/" + moduleName + ".php"
11351136

11361137
let makeImportUserGenerated r t (selector: string) (path: string) =
11371138
Import(

0 commit comments

Comments
 (0)