Skip to content

Commit

Permalink
Oppgraderer, og migrerer aksel/ds-pakkene til v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-CT committed Mar 25, 2024
1 parent 64c49a7 commit 1537213
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 41 deletions.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '';
import { withSentryConfig } from '@sentry/nextjs';

const nextConfig = {
experimental: {
optimizePackageImports: ['@navikt/ds-react', '@navikt/aksel-icons'],
},
reactStrictMode: false,
eslint: {
// Warning: This allows production builds to successfully complete even if
Expand Down
70 changes: 32 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"prettier": "prettier --write ."
},
"dependencies": {
"@navikt/aksel-icons": "^5.18.3",
"@navikt/ds-css": "^5.18.3",
"@navikt/ds-react": "^5.18.3",
"@navikt/aksel-icons": "^6.3.3",
"@navikt/ds-css": "^6.3.3",
"@navikt/ds-react": "^6.3.3",
"@navikt/nav-dekoratoren-moduler": "^2.1.6",
"@sentry/nextjs": "^7.107.0",
"axios": "^1.6.7",
Expand Down

0 comments on commit 1537213

Please sign in to comment.