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

Update webpack.config.js #6064

Closed
wants to merge 489 commits into from
Closed

Update webpack.config.js #6064

wants to merge 489 commits into from

Conversation

ng-hai
Copy link
Contributor

@ng-hai ng-hai commented Jun 21, 2018

Missing SSL flag for FriendlyErrorsWebpackPlugin

image

KyleAMathews and others added 30 commits May 5, 2018 15:28
 - gatsby-plugin-offline@2.0.0-alpha.8
* Always fetch page resources if user mouseenters a link

* Allow plugins to stop core prefetching

* Misc small fixes

* When rendering bundle for generating HTML, target the current node version

* Sort matchPath pages last so more explicit matches win

* Misc

* Revert

* Remove stray console.log
 - gatsby-link@1.6.38-6
 - gatsby-plugin-manifest@2.0.1-9
 - gatsby@2.0.0-alpha.29
 - gatsby@2.0.0-alpha.30
…le (#5223)

* update "using-sass" example

* [gatsby-plugin-sass] add tests

* [gatsby-plugin-less] update tests and README

* commit missing file

* add missing snapshot
…for @babel/preset-env (#5336)

* [v2] sourceType: 'unambigious' is a general babel config option, not for @babel/preset-env

* Update snapshots
 - gatsby-plugin-less@2.0.0-alpha.9
 - gatsby-plugin-sass@2.0.0-alpha.9
 - gatsby@2.0.0-alpha.31
* small refactor of api-runner-browser to fix tests

* remove stray '$' and unneeded eslint-disable-next-line
 - gatsby-plugin-less@2.0.0-alpha.10
 - gatsby-plugin-sass@2.0.0-alpha.10
 - gatsby@2.0.0-alpha.32
* Change deleteNode signature to remove nodeId

* These tests were failing?

* Deprecate old deleteNode method signature

* Change touchNode to accept an object
…ia (#5358)

* Add gatsby-source-wikipedia

* Add gatsby-plugin-guess-js

* Only run guess code during builds as can error during development

* Set packages to alpha

* Add more keywords to gatsby-source-wikipedia

* Document plugins
 - gatsby-plugin-guess-js@1.0.0-alpha.2
 - gatsby-source-contentful@2.0.0-alpha.11
 - gatsby-source-drupal@2.1.0-alpha.10
 - gatsby-source-filesystem@2.0.0-alpha.9
 - gatsby-source-lever@1.0.9-6
 - gatsby-source-wikipedia@1.0.0-alpha.2
 - gatsby-source-wordpress@2.0.57-8
 - gatsby-transformer-screenshot@1.0.3-6
 - gatsby@2.0.0-alpha.33
 - gatsby-plugin-guess-js@1.0.0-alpha.3
`glob.sync` returns files and directories by default.
It is not forbidden to name a directory `foo.js` and it would be returned by `glob`.
That's an issue because `fs.readFileSync(file)` will then fail with `EISDIR: illegal operation on a directory`.

This makes sure that `glob.sync` only returns files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.