John S

Results 115 comments of John S

Based on the output from Transcrypt, you are using Transcrypt version 3.9 and the lower left corner of VS Code shows Python 3.7. The version of Transcrypt and Python have...

If you are using a bundler like parcel or webpack, is this something that [babel](https://babeljs.io/docs/en/babel-plugin-transform-modules-commonjs) can do as a post processing step?

> Logger.js > emoji.js > prettyError.js Is there any plan to fix the missing file issue? Other than that, this Parcel plugin has been working great.

Following up, there was a change in the Parcel library where the logging module was moved. It can be fixed by changing the reference to the logging module import in...

Now that Parcel v2 is out and the current Parcel plug-in for Transcrypt is incompatible with the new version, it might be worth revisiting this to create a parcel-plugin-transcrypt-v2 that...

I just published a [Python transformer for Parcel V2](https://www.npmjs.com/package/parcel-transformer-transcrypt) that uses Transcrypt. I'm still working on the docs and it needs _way_ more testing in different environments than I've done...

I just ran into this as well expecting relative imports to work. The limitation should probably be added to the docs. My use case was just for convenience, as some...

I don't believe Transcrypt is designed to be used as a library where you can import it, but you can run it like any other program using the Python subrocess...

I think I just ran into this one trying to format a number with commas. This Python code : ```python f'{1000000:,}' ``` in JS converts to: ```javascript '{}'.format (1000000) ```

Just an observation - it looks like Transcrypt was installed with Python 3.8 and it still needs 3.7 for now.