Git Product home page Git Product logo

assetmappertypescriptbundle's People

Contributors

kbond avatar maelanleborgne avatar salahm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

assetmappertypescriptbundle's Issues

Typescript:build fail on frankenphp docker image

I'm new to AssetMapper and I'm just loving it.
Your bundle could be really helpfull for me.
I have to write a quite complex (for my level) javascript module and I think that writing it using typescript would be better and more readable.

I've added gcompat on Dockerfile otherwise Alpine Image can't run SWC

Now I can run ./swc-linux-x64-gnu and see its help message but the symfony command typescript:build still give me error.

Any suggestion?
Thanks

Publish on packageist and initial release

Hi!

I haven't played with the bundle yet, but I'm increasingly mentioning it for those that do want to use TypeScript. So, could we:

A) Publish the package to Packagist?
B) and do an initial 0.1.0 release

Thanks for your work!

Add an 'ignore' node in the config to prevent compiling certain files/dirs

This is a tricky one.
SWC has an '--ignore' option, but it allows only a single path to be excluded (or at least I didn't manage to make it take multiple paths.)
So the solution I found was to pass a config snippet with --config-json (not documented on there website) to override the "exclude" config from .swcrc. This works, but SWC prints an error and exits with a 1 return code, so I had to disable printing the output of the command (which didn't print anything anyway) and apply a test on the error message to check if it's a 'real' error or just a notification that a file has been skipped.

Right now I think it's a very dirty hack, and I don't see any other solution but to ask on the swc repo to be able to bypass this.

If you'd like to give it a try go ahead ๐Ÿ˜ƒ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.