Skip to content

Commit

Permalink
fix nest and typeorm problem
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Aug 27, 2024
1 parent 3aaecdc commit 9cc86c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Binary file modified canister_templates/experimental.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion package-lock.json

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

10 changes: 4 additions & 6 deletions src/build/experimental/commands/compile/javascript.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BuildOptions } from 'esbuild';
import esbuildPluginTsc from 'esbuild-plugin-tsc';
import { join } from 'path';

import {
Expand Down Expand Up @@ -136,11 +137,7 @@ export function getBuildOptions(
'custom_js_modules'
);

// TODO we need to remove the plugins here
// TODO we do not want anything stopping us
// TODO should I just make an empty plugin array below? Probably less confusing
const { plugins: _plugins, ...stableBuildOptions } =
getStableBuildOptions(ts);
const stableBuildOptions = getStableBuildOptions(ts);

return {
...stableBuildOptions,
Expand Down Expand Up @@ -181,6 +178,7 @@ export function getBuildOptions(
https: join(customJsModulesPath, 'https.ts'),
...esmAliases
},
external: [...externalImplemented, ...externalNotImplemented]
external: [...externalImplemented, ...externalNotImplemented],
plugins: [esbuildPluginTsc()]
};
}

0 comments on commit 9cc86c6

Please sign in to comment.