removed ts from rollup
This commit is contained in:
parent
c6dc0b42a0
commit
03eb586a9d
@ -6,7 +6,7 @@ import resolve from '@rollup/plugin-node-resolve';
|
|||||||
import livereload from 'rollup-plugin-livereload';
|
import livereload from 'rollup-plugin-livereload';
|
||||||
import css from 'rollup-plugin-css-only';
|
import css from 'rollup-plugin-css-only';
|
||||||
import sveltePreprocess from 'svelte-preprocess';
|
import sveltePreprocess from 'svelte-preprocess';
|
||||||
import typescript from "@rollup/plugin-typescript";
|
// import typescript from "@rollup/plugin-typescript";
|
||||||
|
|
||||||
const production = !process.env.ROLLUP_WATCH;
|
const production = !process.env.ROLLUP_WATCH;
|
||||||
|
|
||||||
@ -47,10 +47,10 @@ export default {
|
|||||||
},
|
},
|
||||||
preprocess: sveltePreprocess({
|
preprocess: sveltePreprocess({
|
||||||
postcss: true,
|
postcss: true,
|
||||||
typescript: true
|
// typescript: true
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
typescript({ sourceMap: !production }),
|
// typescript({ sourceMap: !production }),
|
||||||
// we'll extract any component CSS out into
|
// we'll extract any component CSS out into
|
||||||
// a separate file - better for performance
|
// a separate file - better for performance
|
||||||
css({ output: 'bundle.css' }),
|
css({ output: 'bundle.css' }),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user