chore(client): update gatsby
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
15a74a9ee7
commit
052769e69f
@ -137,24 +137,8 @@ exports.createPages = function createPages({ graphql, actions }) {
|
|||||||
|
|
||||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
||||||
|
|
||||||
exports.onCreateWebpackConfig = ({ stage, rules, plugins, actions }) => {
|
exports.onCreateWebpackConfig = ({ stage, plugins, actions }) => {
|
||||||
actions.setWebpackConfig({
|
actions.setWebpackConfig({
|
||||||
module: {
|
|
||||||
rules: [
|
|
||||||
rules.js({
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
exclude: modulePath => {
|
|
||||||
return (
|
|
||||||
/node_modules/.test(modulePath) &&
|
|
||||||
!/(ansi-styles|chalk|strict-uri-encode|react-freecodecamp-search)/.test(
|
|
||||||
modulePath
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
/* eslint-enable max-len*/
|
|
||||||
})
|
|
||||||
]
|
|
||||||
},
|
|
||||||
node: {
|
node: {
|
||||||
fs: 'empty'
|
fs: 'empty'
|
||||||
},
|
},
|
||||||
|
1891
client/package-lock.json
generated
1891
client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -24,26 +24,26 @@
|
|||||||
"entities": "^1.1.2",
|
"entities": "^1.1.2",
|
||||||
"enzyme": "^3.10.0",
|
"enzyme": "^3.10.0",
|
||||||
"enzyme-adapter-react-16": "^1.14.0",
|
"enzyme-adapter-react-16": "^1.14.0",
|
||||||
"gatsby": "^2.10.0",
|
"gatsby": "^2.13.64",
|
||||||
"gatsby-cli": "^2.7.0",
|
"gatsby-cli": "^2.7.30",
|
||||||
"gatsby-link": "^2.2.0",
|
"gatsby-link": "^2.2.5",
|
||||||
"gatsby-plugin-create-client-paths": "^2.1.0",
|
"gatsby-plugin-create-client-paths": "^2.1.3",
|
||||||
"gatsby-plugin-google-fonts": "^1.0.1",
|
"gatsby-plugin-google-fonts": "^1.0.1",
|
||||||
"gatsby-plugin-manifest": "^2.2.0",
|
"gatsby-plugin-manifest": "^2.2.5",
|
||||||
"gatsby-plugin-react-helmet": "^3.1.0",
|
"gatsby-plugin-react-helmet": "^3.1.3",
|
||||||
"gatsby-plugin-remove-fingerprints": "0.0.2",
|
"gatsby-plugin-remove-fingerprints": "^0.0.2",
|
||||||
"gatsby-plugin-remove-serviceworker": "^1.0.0",
|
"gatsby-plugin-remove-serviceworker": "^1.0.0",
|
||||||
"gatsby-plugin-sitemap": "^2.2.0",
|
"gatsby-plugin-sitemap": "^2.2.6",
|
||||||
"gatsby-remark-prismjs": "^3.3.0",
|
"gatsby-remark-prismjs": "^3.3.5",
|
||||||
"gatsby-source-filesystem": "^2.1.0",
|
"gatsby-source-filesystem": "^2.1.9",
|
||||||
"gatsby-transformer-remark": "^2.5.0",
|
"gatsby-transformer-remark": "^2.6.14",
|
||||||
"jquery": "^3.4.1",
|
"jquery": "^3.4.1",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"loop-protect": "^2.1.6",
|
"loop-protect": "^2.1.6",
|
||||||
"monaco-editor-webpack-plugin": "^1.7.0",
|
"monaco-editor-webpack-plugin": "^1.7.0",
|
||||||
"nanoid": "^1.2.2",
|
"nanoid": "^1.2.2",
|
||||||
"prismjs": "^1.17.1",
|
"prismjs": "^1.17.1",
|
||||||
"query-string": "^6.8.1",
|
"query-string": "^6.8.2",
|
||||||
"react": "^16.8.6",
|
"react": "^16.8.6",
|
||||||
"react-calendar-heatmap": "^1.8.0",
|
"react-calendar-heatmap": "^1.8.0",
|
||||||
"react-dom": "^16.8.6",
|
"react-dom": "^16.8.6",
|
||||||
|
Reference in New Issue
Block a user