1212
1313import { execSync } from "child_process" ;
1414import { build } from "@perspective-dev/esbuild-plugin/build.js" ;
15- import { PerspectiveEsbuildPlugin } from "@perspective-dev/esbuild-plugin" ;
1615import { NodeModulesExternal } from "@perspective-dev/esbuild-plugin/external.js" ;
1716import * as fs from "node:fs" ;
1817import { BuildCss } from "@prospective.co/procss/target/cjs/procss.js" ;
@@ -31,9 +30,7 @@ function get_host() {
3130}
3231async function build_all ( ) {
3332 execSync (
34- `cargo bundle --target=${ get_host ( ) } -- perspective_viewer ${
35- IS_DEBUG ? "" : "--release"
36- } `,
33+ `cargo bundle --target=${ get_host ( ) } -- perspective_viewer ${ IS_DEBUG ? "" : "--release" } ` ,
3734 INHERIT ,
3835 ) ;
3936
@@ -56,7 +53,6 @@ async function build_all() {
5653 {
5754 entryPoints : [ "src/ts/perspective-viewer.inline.ts" ] ,
5855 format : "esm" ,
59- plugins : [ PerspectiveEsbuildPlugin ( ) ] ,
6056 loader : { ".wasm" : "binary" } ,
6157 outfile : "dist/esm/perspective-viewer.inline.js" ,
6258 } ,
@@ -85,7 +81,6 @@ async function build_all() {
8581 {
8682 entryPoints : [ "src/ts/perspective-viewer.cdn.ts" ] ,
8783 format : "esm" ,
88- plugins : [ PerspectiveEsbuildPlugin ( ) ] ,
8984 loader : { ".wasm" : "file" } ,
9085 outfile : "dist/cdn/perspective-viewer.js" ,
9186 } ,
0 commit comments