Commit 741f6fc
authored
Revert standalone extension change for module type (#77978)
We don't need to change the extension as the main fix is to ensure the
`package.json` is copied to the standalone folder. The extension change
was for more correctness but can cause breakage for anyone using `type:
'module'` as they will need to update their flows for the new `.mjs`
extension. Since this is un-necessary breakage this reverts that piece
of the fix.
x-ref:
#77944 (comment)1 parent 6d5df0e commit 741f6fc
File tree
2 files changed
+2
-2
lines changed- packages/next/src/build
- test/production/standalone-mode/type-module
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1687 | 1687 | | |
1688 | 1688 | | |
1689 | 1689 | | |
1690 | | - | |
| 1690 | + | |
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments