diff --git a/package.json b/package.json index 961511d..dd335fe 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/rollup.config.dev.mjs b/rollup.config.dev.mjs index 318294d..d39c124 100644 --- a/rollup.config.dev.mjs +++ b/rollup.config.dev.mjs @@ -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'], @@ -39,13 +34,6 @@ export default { 'Access-Control-Allow-Origin': '*', }, }), - ignore([ - '@material/web', - ...ignoreSelectFiles, - ...ignoreSwitchFiles, - ...ignoreTextfieldFiles, - ...ignoreFormFieldFiles, - ], { commonjsBugFix: true }), sizes({ details: true }), ], }; diff --git a/rollup.config.mjs b/rollup.config.mjs index 540fab2..1c63bc3 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -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; @@ -34,13 +29,6 @@ const plugins = [ }), dev && serve(serveopts), !dev && terser(), - ignore([ - '@material/web', - ...ignoreSelectFiles, - ...ignoreSwitchFiles, - ...ignoreTextfieldFiles, - ...ignoreFormFieldFiles, - ], { commonjsBugFix: true }), ]; export default [