Skip to content

Commit

Permalink
chore: bump vite version to 5
Browse files Browse the repository at this point in the history
chore: remove devDep for element-internals-polyfill
  • Loading branch information
vollowx committed Mar 23, 2024
1 parent 115d711 commit acafad6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 0 additions & 2 deletions docs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ import '../src/m3/ripple.js';
import '../src/m3/switch.js';
import '../src/m3/tooltip.js';
import './components/demo/demo.js';

import 'element-internals-polyfill';
4 changes: 2 additions & 2 deletions docs/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { createHtmlPlugin } from 'vite-plugin-html';

export default defineConfig({
base: '/see/', // For GitHub pages
// css: { transformer: 'lightningcss' },
css: { transformer: 'lightningcss' },
build: {
minify: true,
// cssMinify: 'lightningcss',
cssMinify: 'lightningcss',
},
plugins: [
babel({
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@
"@babel/plugin-proposal-decorators": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@rollup/plugin-babel": "^6.0.3",
"element-internals-polyfill": "^1.3.8",
"lightningcss": "^1.22.0",
"prettier": "^3.0.3",
"stylelint": "^15.10.3",
"stylelint-config-prettier": "^9.0.5",
"stylelint-order": "^6.0.3",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite": "^5.2.4",
"vite-plugin-html": "^3.2.0"
},
"dependencies": {
Expand Down

0 comments on commit acafad6

Please sign in to comment.