From 6d15e76560006988835ede669a0a2aff50501e15 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 20 Jul 2022 13:48:00 -0400 Subject: [PATCH] *Update build process --- package.json | 2 +- rollup.config.js | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/package.json b/package.json index 77f3ec2..c9a5710 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@lumeweb/kernel-tester", "version": "0.1.0", "scripts": { - "build": "tsc && rollup -c && cp dist/tester.js public/tester.js && mkdir -p bin && cp build/sandbox.js bin/sandbox.js && cp build/*.d.ts dist && rm -f dist/tester.js && rm -rf build/" + "build": "tsc && rollup -c && mv dist/tester* public && mkdir -p bin && mv build/sandbox* bin/ && mv build/index* dist && rm -f dist/tester.js && rm -rf build/" }, "main": "dist/index.js", "types": "types", diff --git a/rollup.config.js b/rollup.config.js index 6a4d8ec..5d93330 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -12,14 +12,4 @@ export default [ plugins: [resolve(), commonjs(), json()], inlineDynamicImports: true, }, - { - input: "build/index.js", - output: { - file: "dist/index.js", - format: "cjs", - exports: "auto", - }, - plugins: [resolve({ preferBuiltins: true }), commonjs(), json()], - inlineDynamicImports: true, - }, ];