Skip to content

Commit

Permalink
🐞 rebox/native-utils, rebox/web: fix missing .js and .jsx extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviervia authored Apr 10, 2020
1 parent 9d0ef48 commit 41a7174
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/rebox/native-utils/src/haul.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,15 @@ export default makeConfig({
config.resolve.extensions = [
...config.resolve.extensions,
`.${env.platform}.js`,
`.${env.platform}.jsx`,
`.${env.platform}.ts`,
`.${env.platform}.tsx`,
'.native.js',
'.native.jsx',
'.native.ts',
'.native.tsx',
'.js',
'.jsx',
'.ts',
'.tsx',
]
Expand Down
1 change: 1 addition & 0 deletions packages/rebox/web/src/build-web-app-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const buildWebAppRelease = (userOptions: TBuildWebAppReleaseOptions) => {
'.web.ts',
'.web.tsx',
'.js',
'.jsx',
'.ts',
'.tsx',
'.json',
Expand Down
1 change: 1 addition & 0 deletions packages/rebox/web/src/run-web-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const runWebApp = (options: TRunWebAppOptions): Promise<() => Promise<voi
'.web.ts',
'.web.tsx',
'.js',
'.jsx',
'.ts',
'.tsx',
'.json',
Expand Down

0 comments on commit 41a7174

Please sign in to comment.