Skip to content

Commit

Permalink
Undo PR
Browse files Browse the repository at this point in the history
  • Loading branch information
r100-stack committed Jan 23, 2025
1 parent d73b184 commit 0b61a6f
Show file tree
Hide file tree
Showing 3 changed files with 379 additions and 68 deletions.
2 changes: 1 addition & 1 deletion packages/itwinui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"typescript": "5",
"vite": "~5.4.14",
"vite": "~5.1.8",
"vitest": "^1.2.1"
},
"peerDependencies": {
Expand Down
12 changes: 0 additions & 12 deletions packages/itwinui-react/src/styles.js/vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,6 @@ export default defineConfig({
},
},
plugins: [
// https://github.com/vitejs/vite/pull/16051#issuecomment-2076616816
{
name: 'css-module-side-effectful',
enforce: 'post',
transform(_, id) {
if (id.endsWith('.module.css')) {
return {
moduleSideEffects: 'no-treeshake',
};
}
},
},
{
name: 'copy-files-after-build',
closeBundle: async () => {
Expand Down
Loading

0 comments on commit 0b61a6f

Please sign in to comment.