Skip to content

Commit

Permalink
build: 🔥 Remove deprecated css-modules build code (#1980)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz authored May 14, 2024
1 parent 65be746 commit 73dc724
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 644 deletions.
1 change: 0 additions & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
**/dist/**/*.css
packages/theme/brand/**/*.css
packages/css/dist/**/*.css
react-css-modules.css
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"mdx"
],
"html-css-class-completion.includeGlobPattern": "packages/css/**/*.{css,html}",
"html-css-class-completion.excludeGlobPattern": "**/react-css-modules.css",
"cSpell.words": ["altinn", "brreg", "designsystemet", "digdir"],
"cSpell.language": "en,nb",
"cSpell.ignorePaths": ["**/node_modules/**", "**/package.json", "yarn.lock"],
Expand Down
1 change: 0 additions & 1 deletion packages/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@layer fds.typography, fds.utils, fds.btn;

/** Import order defines ordinal specificity for layers */
@import url('./react-css-modules.css');
@import url('./button.css');
@import url('./utils.css');
@import url('./box.css');
Expand Down
3 changes: 0 additions & 3 deletions packages/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,5 @@
"postcss-cli": "^11.0.0",
"postcss-import": "^16.0.1",
"rimraf": "^5.0.5"
},
"dependencies": {
"@digdir/designsystemet-react": "workspace:^"
}
}
Loading

0 comments on commit 73dc724

Please sign in to comment.