Skip to content

Commit 2e0b900

Browse files
authored
Merge pull request #126 from enonic/next
Release 0.11.0
2 parents d49a794 + 9fe365c commit 2e0b900

35 files changed

+120
-4093
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22
updates:
33
- package-ecosystem: "npm"
4-
directory: "/"\
4+
directory: "/"
55
target-branch: "next"
66
schedule:
77
interval: "weekly"

next.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const withTM = require('next-transpile-modules')(['@enonic/nextjs-adapter']);
2+
13
// neededed to eval inline react scripts
24
const cspHeaders = [
35
{
@@ -6,8 +8,8 @@ const cspHeaders = [
68
}
79
]
810

9-
module.exports = {
10-
reactStrictMode: true,
11+
module.exports = withTM({
12+
reactStrictMode: false,
1113

1214
async headers() {
1315
return [
@@ -18,4 +20,4 @@ module.exports = {
1820
},
1921
]
2022
},
21-
}
23+
});

package-lock.json

Lines changed: 86 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
"lint": "npx next lint"
1212
},
1313
"dependencies": {
14+
"@enonic/nextjs-adapter": "^0.11.0",
1415
"html-react-parser": "^3.0.4",
1516
"next": "^13.0.4",
17+
"next-transpile-modules": "^10.0.0",
1618
"react": "18.2.0",
1719
"react-dom": "18.2.0",
1820
"unescape": "^1.0.1"

src/_enonicAdapter/ComponentRegistry.ts

Lines changed: 0 additions & 183 deletions
This file was deleted.

0 commit comments

Comments
 (0)