Skip to content

Commit

Permalink
fix: remove the useless rollup-plugin-copy in place of the native
Browse files Browse the repository at this point in the history
stencil one
  • Loading branch information
puria committed Jan 27, 2024
1 parent 71cf6a0 commit eb106ad
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';
import tailwind, { PluginConfigOpts, setPluginConfigurationDefaults, tailwindGlobal, tailwindHMR } from 'stencil-tailwind-plugin';
import tailwindConf from './tailwind.config';
import copy from 'rollup-plugin-copy';

const opts = {
debug: false,
Expand All @@ -26,8 +25,8 @@ export const config: Config = {
src: '**/*.woff2',
dest: 'assets',
warn: true,
}
]
},
],
},
{
type: 'dist-custom-elements',
Expand All @@ -48,24 +47,12 @@ export const config: Config = {
src: '**/*.woff2',
dest: 'assets',
warn: true,
}
]
},
],
},
],
testing: {
browserHeadless: 'new',
},
plugins: [sass(), tailwindGlobal(), tailwind(), tailwindHMR()],
rollupPlugins: {
after: [
copy({
targets: [
{
src: 'src/**/*.{woff2}',
dest: 'dist/didroom-components/assets',
},
],
}),
]
}
};

0 comments on commit eb106ad

Please sign in to comment.