web: enable rollup cache

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-04-07 21:06:18 +02:00
parent e2f0a76309
commit a7a517733e
1 changed files with 4 additions and 0 deletions

View File

@ -99,6 +99,7 @@ export const POLY = {
sourcemap: true, sourcemap: true,
}, },
], ],
cache: true,
plugins: [ plugins: [
cssimport(), cssimport(),
nodeResolve({ browser: true }), nodeResolve({ browser: true }),
@ -120,6 +121,7 @@ export default [
{ {
input: "./src/interfaces/FlowInterface.ts", input: "./src/interfaces/FlowInterface.ts",
context: "window", context: "window",
cache: true,
output: [ output: [
{ {
format: "es", format: "es",
@ -137,6 +139,7 @@ export default [
{ {
input: "./src/interfaces/AdminInterface.ts", input: "./src/interfaces/AdminInterface.ts",
context: "window", context: "window",
cache: true,
output: [ output: [
{ {
format: "es", format: "es",
@ -154,6 +157,7 @@ export default [
{ {
input: "./src/interfaces/UserInterface.ts", input: "./src/interfaces/UserInterface.ts",
context: "window", context: "window",
cache: true,
output: [ output: [
{ {
format: "es", format: "es",