gatsby-theme-q3 2.3.4 → 2.3.6

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.3.6](https://github.com/3merge/q/compare/v2.3.5...v2.3.6) (2021-12-16)
7
+
8
+ **Note:** Version bump only for package gatsby-theme-q3
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.3.4](https://github.com/3merge/q/compare/v2.3.3...v2.3.4) (2021-12-10)
7
15
 
8
16
 
package/gatsby-node.js CHANGED
@@ -3,7 +3,17 @@ exports.onCreateWebpackConfig = ({
3
3
  stage,
4
4
  plugins,
5
5
  }) => {
6
- const config = {
6
+ if (stage === 'build-javascript' || stage === 'develop')
7
+ actions.setWebpackConfig({
8
+ plugins: [
9
+ plugins.provide({
10
+ Buffer: ['buffer/', 'Buffer'],
11
+ process: 'process/browser',
12
+ }),
13
+ ],
14
+ });
15
+
16
+ actions.setWebpackConfig({
7
17
  resolve: {
8
18
  fallback: {
9
19
  util: false,
@@ -11,16 +21,7 @@ exports.onCreateWebpackConfig = ({
11
21
  path: false,
12
22
  },
13
23
  },
14
- };
15
-
16
- if (stage === 'build-javascript' || stage === 'develop')
17
- config.plugins = [
18
- plugins.provide({
19
- process: 'process/browser',
20
- }),
21
- ];
22
-
23
- actions.setWebpackConfig(config);
24
+ });
24
25
  };
25
26
 
26
27
  exports.onCreateBabelConfig = function onCreateBabelConfig({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-theme-q3",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -19,6 +19,7 @@
19
19
  "@contentful/rich-text-react-renderer": "^15.6.2",
20
20
  "@contentful/rich-text-types": "^15.7.0",
21
21
  "add": "^2.0.6",
22
+ "buffer": "^6.0.3",
22
23
  "gatsby-image": "^3.11.0",
23
24
  "gatsby-plugin-canonical-urls": "^4.2.0",
24
25
  "gatsby-plugin-force-trailing-slashes": "^1.0.5",
@@ -29,7 +30,7 @@
29
30
  "gatsby-plugin-sharp": "^4.2.0",
30
31
  "gatsby-plugin-sitemap": "^5.2.0",
31
32
  "gatsby-source-contentful": "^7.0.0",
32
- "gatsby-theme-q3-mui": "^2.3.4",
33
+ "gatsby-theme-q3-mui": "^2.3.6",
33
34
  "gatsby-transformer-sharp": "^4.2.0",
34
35
  "lodash": "^4.17.20",
35
36
  "process": "^0.11.10",
@@ -41,5 +42,5 @@
41
42
  "transform-loader": "^0.2.4",
42
43
  "yarn": "^1.22.17"
43
44
  },
44
- "gitHead": "93a43d911ce0af48809ba3142404363c70932573"
45
+ "gitHead": "11349608dcc4da10f9e2875be6ae23823b8c6d4d"
45
46
  }