Skip to content

Commit 364f2e1

Browse files
author
André Cruz
committed
feat: upgrade to next 12
1 parent f847371 commit 364f2e1

File tree

6 files changed

+4790
-13154
lines changed

6 files changed

+4790
-13154
lines changed

.github/workflows/node-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: ['12', '14', '16']
13+
node-version: ['16']
1414
name: '[v${{ matrix.node-version }}] prepare'
1515

1616
steps:
@@ -37,7 +37,7 @@ jobs:
3737
needs: prepare
3838
strategy:
3939
matrix:
40-
node-version: ['12', '14', '16']
40+
node-version: ['16']
4141
name: '[v${{ matrix.node-version }}] check'
4242

4343
steps:
@@ -79,7 +79,7 @@ jobs:
7979
needs: prepare
8080
strategy:
8181
matrix:
82-
node-version: ['12', '14', '16']
82+
node-version: ['16']
8383
name: '[v${{ matrix.node-version }}] build'
8484

8585
steps:

next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const { withRasterImages, withPlayback, withSVG, withFonts, with3D, withJSON5 } = require('@moxy/next-common-files');
44
const withOneOf = require('@moxy/next-webpack-oneof');
5-
const withCompileNodeModules = require('@moxy/next-compile-node-modules');
5+
// const withCompileNodeModules = require('@moxy/next-compile-node-modules');
66
const withPlugins = require('next-compose-plugins');
77
const withSitemap = require('@moxy/next-sitemaps/plugin');
88
const envVar = require('env-var');
@@ -72,7 +72,7 @@ module.exports = (phase, params) => {
7272
inline: true,
7373
}),
7474
withJSON5(),
75-
withCompileNodeModules(),
75+
// withCompileNodeModules(),
7676
withSitemap(phase, SITE_URL),
7777

7878
// Base config here.

0 commit comments

Comments
 (0)