mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-23 04:03:00 -05:00
* kill unwrapped_remote (#1490) * kill unwrapped_remote * linting * don't use callKwargs for python plugins * fix tests and improve types * Bringing PyScript.next PoC to the main project * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Madhur Tandon <20173739+madhur-tandon@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
19 lines
477 B
JavaScript
19 lines
477 B
JavaScript
// This file generates /min.js minified version of the module, which is
|
|
// the default exported as npm entry.
|
|
|
|
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
import terser from "@rollup/plugin-terser";
|
|
|
|
import { createRequire } from "node:module";
|
|
|
|
createRequire(import.meta.url)("./build_xworker.cjs");
|
|
|
|
export default {
|
|
input: "./esm/index.js",
|
|
plugins: [nodeResolve(), terser()],
|
|
output: {
|
|
esModule: true,
|
|
file: "./min.js",
|
|
},
|
|
};
|