Skip to content

Commit 5c08cc3

Browse files
committed
Update package used and alias on next config
1 parent 10b22b9 commit 5c08cc3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
webpack(config, options) {
55
config.resolve.alias['components'] = path.join(__dirname, 'components')
66
config.resolve.alias['getNews'] = path.join(__dirname, 'data/getNews.js')
7-
config.resolve.alias['strategies'] = path.join(__dirname, 'strategies')
7+
config.resolve.alias['@midudev'] = path.join(__dirname, 'strategies')
88

99
return config
1010
}

pages/dynamic-rendering/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Card from 'components/Card'
33
import Grid from 'components/Grid'
44
import Layout from 'components/Layout'
55

6-
import DynamicRendering from 'strategies/dynamic-rendering'
6+
import DynamicRendering from '@midudev/react-dynamic-rendering'
77

88
export default function DynamicRenderingPage({articles, isBot}) {
99
return (

pages/progressive-hydration/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Card from 'components/Card'
33
import Grid from 'components/Grid'
44
import Layout from 'components/Layout'
55

6-
import ProgressiveHydration from 'strategies/progressive-hydration'
6+
import ProgressiveHydration from '@midudev/react-progressive-hydration'
77

88
export default function ProgressiveHydrationPage({articles}) {
99
return (

pages/static-content/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Card from 'components/Card'
44
import Grid from 'components/Grid'
55
import Layout from 'components/Layout'
66

7-
import StaticContent from 'strategies/static-content'
7+
import StaticContent from '@midudev/react-static-content'
88

99
export default function StaticContentPage({articles}) {
1010
return (

0 commit comments

Comments
 (0)