Open miyaji255 opened 4 months ago
Could you please create a sample project to reproduce the error? Or perhaps you could tell us the runtime, each library, and build script.
OK, I have prepared a sample repository for you to reproduce the error. https://github.com/miyaji255/esbuild-gas-plugin-issue-21
Thanks!!
workaround: Instead of using tsc, change esbuild.ts to esbuild.js and run it in Node.js
const { build } = require("esbuild");
const { GasPlugin } = require("esbuild-gas-plugin");
build({
entryPoints: ["src/index.ts"],
bundle: true,
outfile: "dist/bundle.js",
plugins: [GasPlugin],
});
Thank you too!
I use that until the issue is resolved.
esbuild v0.20.0で使用すると型エラーが出るのでesbuildをpeerDependenciesに入れてほしいです。