forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEXT-29105 - allow ts files in storefront
Added a webpack extension alias for paths that end with .js If a file path ends with .js it will first check if there is a typescript file otherwise it will grab the js file. This allows us to use typescript in the storefront without breaking plugins that use paths that end with .js
- Loading branch information
1 parent
086770f
commit aed3073
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
changelog/_unreleased/2023-07-06-allow-typescript-in-the-storefront.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Allow typescript in the storefront | ||
issue: NEXT-29105 | ||
--- | ||
# Storefront | ||
* Added extension alias in webpack config for javascript files to check for typescript files first and then javascript files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters