*Update build process

This commit is contained in:
Derrick Hammer 2022-07-20 13:48:00 -04:00
parent 67615b5b77
commit 6d15e76560
2 changed files with 1 additions and 11 deletions

View File

@ -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",

View File

@ -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,
},
];