Tibbs
Tibbs
DDeno
Created by Tibbs on 8/22/2024 in #help
Transpile TS to browser-safe JS with no dependencies?
Hey friends! Is there a way to combine Deno CLI commands or configs to transpile my source code from TS to browser-safe JS without pulling in a dependency like the NPM-hosted TS binary? I just want the source transpiled and concatinated, maybe minified. What's the easiest way to do this in a Deno project? Thanks!
10 replies
DDeno
Created by Tibbs on 7/1/2024 in #help
Deno loading NPM module oracledb .node files with incorrect architecture
No description
5 replies
DDeno
Created by Tibbs on 10/24/2023 in #help
Unable to find NPM:Rollup 4.1.4 on M1 Mac
Hi all, hooking up a new build process for UI project, trying to use Rollup on an M1 Mac. My build script starts with: import { rollup } from "npm:rollup@4.1.4"; import html from "npm:@rollup/plugin-html@1.0.3"; This works great on Deno for Windows, but on my M1 Mac, I get the following error in the terminal: error: Uncaught Error: Cannot find module '@rollup/rollup-darwin-arm64' Is it possible to force Deno to load the x86-64 version of the NPM package, and use the M1's compatibility layer, or otherwise get this package pulled down normally in a way that's compatible? Thanks, Tibbs
2 replies