mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(examples): use external stylesheet for rollup examples
This commit is contained in:
parent
853eda8031
commit
bb3158e171
9 changed files with 32 additions and 2376 deletions
|
@ -4,7 +4,6 @@ import resolve from "@rollup/plugin-node-resolve";
|
|||
import serve from "rollup-plugin-serve";
|
||||
import svelte from "rollup-plugin-svelte";
|
||||
import livereload from "rollup-plugin-livereload";
|
||||
import sveltePreprocess from "svelte-preprocess";
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
const PROD = !process.env.ROLLUP_WATCH;
|
||||
|
@ -20,7 +19,6 @@ export default {
|
|||
plugins: [
|
||||
svelte({
|
||||
dev: !PROD,
|
||||
preprocess: sveltePreprocess(),
|
||||
css: (css) => css.write("bundle.css", !PROD),
|
||||
}),
|
||||
resolve({ browser: true, dedupe: ["svelte"] }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue