Skip to content

Commit

Permalink
feat: ✨ enable support for nextjs by transpiling .js files
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 9, 2020
1 parent ab23dc1 commit 5bcc8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (fs.existsSync(pkgPath)) {
}

export const loaders: Record<string, Loader> = {
// ".js": "js",
".js": "js",
".mjs": "js",
".cjs": "js",
".jsx": "jsx",
Expand Down

0 comments on commit 5bcc8be

Please sign in to comment.