Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build iframe execution environment with Webpack #1977

Closed
wants to merge 1 commit into from
Closed

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Nov 20, 2023

It can be built with yarn build:webpack in packages/snaps-execution-environments.

Copy link

Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
tsconfig-paths-webpack-plugin 4.0.1...4.1.0 None +0/-0 274 kB jonaskello

🚮 Removed packages: [email protected]

@@ -1,7 +1,12 @@
// eslint-disable-next-line import/no-unassigned-import
import 'ses';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be imported into the bundle after we add the webpack plugin.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed it should not, we should use the LM Compartment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I added it temporarily so that the execution environment works. Without it, Compartment would be undefined.

@Mrtenz Mrtenz closed this Feb 27, 2024
@Mrtenz Mrtenz deleted the mrtenz/webpack branch February 27, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants