Git Product home page Git Product logo

Comments (4)

nikolasleblanc avatar nikolasleblanc commented on May 17, 2024 2

http://stackoverflow.com/questions/42816079/webpack-is-not-resolving-extensions-from-third-party-libraries/42817176#42817176

Been there, gave you a response in SO.

from angular2-template-loader.

TheLarkInn avatar TheLarkInn commented on May 17, 2024 1

It is however the stipulation is that you would need to have the libraries ts src available. This loader should be able to load js transpiled but I have seen issues with this in the past, would be open to merging a PR that supports this.

from angular2-template-loader.

alvaro9210 avatar alvaro9210 commented on May 17, 2024

Hey, is there a way to use this loader with third party libraries?
Or is just a no go for third party libraries with angular?
Also I think my opened, now closed, issue #48 shouldn't be closed. Because it's related to this incompatibility with third party libraries with this loader.

I've also made this question in Stackoverflow.
http://stackoverflow.com/questions/42816079/webpack-is-not-resolving-extensions-from-third-party-libraries

from angular2-template-loader.

alvaro9210 avatar alvaro9210 commented on May 17, 2024

The answer of @nikolasleblanc works like a charm!!
Just take in mind that this wouldn't work with lazy loaded routes in you library.

from angular2-template-loader.

Related Issues (20)

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.