Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load json without extension #1525

Closed
wants to merge 2 commits into from
Closed

load json without extension #1525

wants to merge 2 commits into from

Conversation

captDaylight
Copy link
Contributor

@captDaylight captDaylight commented Mar 27, 2017

resolves #1508

json files don't need the extension.

* master:
  remove extra semicolon. (#1520)
  Remove master vs README warnning
  Release 2.0.0
  Release 2.0.0-beta.42
  Move all NPM modules into a single chunk in dev mode. (#1512)
  Wait until webpack updates before eval the JSON page. (#1511)
  Release 2.0.0-beta.41
  Revert "Move all NPM modules into a single chunk in dev mode. (#1505)"
  Release 2.0.0-beta.40
  Move all NPM modules into a single chunk in dev mode. (#1505)
  fixed zeit.co link in readme (#1497)
  chore(package): update husky to version 0.13.3 (#1491)
  Add link (#1492)
  Load the main JS bundle in production with async (#1485)
  chore(package): update babel-eslint to version 7.2.0 (#1468)
  Handle pages with no default export and show an error. (#1484)
  Show errored file always in the error overlay. (#1470)
  chore(package): update babel-plugin-istanbul to version 4.1.1 (#1481)
  fix(package): update webpack to version 2.3.1 (#1480)
  fix(package): update webpack to version 2.3.0 (#1475)
@captDaylight captDaylight deleted the 1508-json-extension branch March 27, 2017 22:09
@arunoda
Copy link
Contributor

arunoda commented Mar 28, 2017

Why did you delete this ?

@@ -280,6 +280,7 @@ export default async function createCompiler (dir, { dev = false, quiet = false,
}
},
resolve: {
extensions: ['', '.js', '.jsx', '.json'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove .jsx. We don't wanna support it. We have talked about this somewhere else.

@captDaylight
Copy link
Contributor Author

mistake on my part for the delete, adding this back in another pull request. sorry for the confusion.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants