From 423320d184ec1bcd56ca2e5c88d60fb4d8d82ac6 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Mon, 13 Apr 2020 12:59:00 +0200 Subject: [PATCH] cleanup rollup config --- packages/builder/rollup.config.js | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/packages/builder/rollup.config.js b/packages/builder/rollup.config.js index 4a30e491aa..38a1a42a34 100644 --- a/packages/builder/rollup.config.js +++ b/packages/builder/rollup.config.js @@ -8,8 +8,6 @@ import { terser } from "rollup-plugin-terser" import builtins from "rollup-plugin-node-builtins" import nodeglobals from "rollup-plugin-node-globals" import copy from "rollup-plugin-copy" -import browsersync from "rollup-plugin-browsersync" -import proxy from "http-proxy-middleware" import replace from "rollup-plugin-replace" import path from "path" @@ -209,24 +207,4 @@ export default { // instead of npm run dev), minify production && terser(), ], - watch: { - clearScreen: false, - }, -} - -function serve() { - let started = false - - return { - writeBundle() { - if (!started) { - started = true - - require("child_process").spawn("npm", ["run", "start"], { - stdio: ["ignore", "inherit", "inherit"], - shell: true, - }) - } - }, - } -} +} \ No newline at end of file