Skip to content

Commit

Permalink
Fix up the configs and package defs
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkfish committed Jun 4, 2024
1 parent 383a39e commit 7e079b5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"@types/eslint__js": "^8.42.3",
"eslint": "^8.57.0",
"rollup": "^4.18.0",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-serve": "^1.1.1",
"rollup-plugin-sizes": "^1.0.6",
"typescript": "^5.4.5",
Expand Down
12 changes: 0 additions & 12 deletions rollup.config.dev.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ import babel from '@rollup/plugin-babel';
import serve from 'rollup-plugin-serve';
import terser from '@rollup/plugin-terser';
import json from '@rollup/plugin-json';
import ignore from 'rollup-plugin-ignore';
import sizes from 'rollup-plugin-sizes';
import { ignoreSwitchFiles } from './elements/ignore/switch.mjs';
import { ignoreSelectFiles } from './elements/ignore/select.mjs';
import { ignoreTextfieldFiles } from './elements/ignore/textfield.mjs';
import { ignoreFormFieldFiles } from './elements/ignore/formfield.mjs';

export default {
input: ['src/boilerplate-card.ts'],
Expand Down Expand Up @@ -39,13 +34,6 @@ export default {
'Access-Control-Allow-Origin': '*',
},
}),
ignore([
'@material/web',
...ignoreSelectFiles,
...ignoreSwitchFiles,
...ignoreTextfieldFiles,
...ignoreFormFieldFiles,
], { commonjsBugFix: true }),
sizes({ details: true }),
],
};
12 changes: 0 additions & 12 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import babel from '@rollup/plugin-babel';
import terser from '@rollup/plugin-terser';
import serve from 'rollup-plugin-serve';
import json from '@rollup/plugin-json';
import ignore from 'rollup-plugin-ignore';
import { ignoreSwitchFiles } from './elements/ignore/switch.mjs';
import { ignoreSelectFiles } from './elements/ignore/select.mjs';
import { ignoreTextfieldFiles } from './elements/ignore/textfield.mjs';
import { ignoreFormFieldFiles } from './elements/ignore/formfield.mjs';

const dev = process.env.ROLLUP_WATCH;

Expand All @@ -34,13 +29,6 @@ const plugins = [
}),
dev && serve(serveopts),
!dev && terser(),
ignore([
'@material/web',
...ignoreSelectFiles,
...ignoreSwitchFiles,
...ignoreTextfieldFiles,
...ignoreFormFieldFiles,
], { commonjsBugFix: true }),
];

export default [
Expand Down

0 comments on commit 7e079b5

Please sign in to comment.