Skip to content

Commit

Permalink
chore: replace esbuild with esbuild-wasm (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr authored Aug 30, 2022
1 parent 28f24e1 commit 46ff769
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const project = new cdk.JsiiProject({
defaultReleaseBranch: "main",
peerDeps: ["constructs@^10.0.25", "@monadahq/polycons@^0.0.36"],
deps: ["cdktf", "@cdktf/provider-aws"],
bundledDeps: ["esbuild", "@monadahq/wingsdk-clients"],
bundledDeps: ["esbuild-wasm", "@monadahq/wingsdk-clients"],
devDeps: ["replace-in-file"],
prettier: true,
jestOptions: {
Expand Down
30 changes: 13 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/local/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { unlinkSync, writeFileSync } from "fs";
import { basename, dirname, join, resolve } from "path";
import type { FunctionSchema } from "@monadahq/wing-local";
import { Construct } from "constructs";
import * as esbuild from "esbuild";
import * as esbuild from "esbuild-wasm";
import * as cloud from "../cloud";
import { FunctionProps } from "../cloud";
import {
Expand Down
2 changes: 1 addition & 1 deletion src/tf-aws/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { join, dirname, basename, resolve } from "path";
import * as aws from "@cdktf/provider-aws";
import { AssetType, Lazy, TerraformAsset } from "cdktf";
import { Construct } from "constructs";
import * as esbuild from "esbuild";
import * as esbuild from "esbuild-wasm";
import * as cloud from "../cloud";
import { FunctionProps } from "../cloud";
import {
Expand Down

0 comments on commit 46ff769

Please sign in to comment.