Coder Social home page Coder Social logo

Comments (4)

hotforfeature avatar hotforfeature commented on June 8, 2024 2

Precisely. While Angular 6 is 100% on my radar, I'm holding off on any major decisions until after IO and Polymer 3's announcement. Then I'll start my investigation into what'd be the best path, keeping backwards compatibility in mind.

from origami.

hotforfeature avatar hotforfeature commented on June 8, 2024

Yup, instead of patching the CLI you could eject it and add the modifications. The reason I went with patching the CLI is to keep support for all of the ng commands. The last time I experimented with ng eject, I lost the ability to do simple things like ng serve. That, simplicity for adoption, and additional complications were the reason I went the patch route.

If the CLI has changed to better support ejecting, I'd love to hear about it! Ultimately though, the patch will be rendered useless with Polymer 3's release. The patch performs two goals:

  1. Injecting polymer-webpack-loader to import HTML elements.
  2. Suppressing CSS warnings about custom variables.

Polymer 3's use of ES modules and movement away from HTML imports with solve 1. 2 has already been solved in a later version of the Angular CLI, but is still there for backwards compatibility.

from origami.

David-Mulder avatar David-Mulder commented on June 8, 2024

My 'problem' was mostly that I was trying to get it to work with angular.json and that's when the 'patch' approach is frustrating. But if Polymer 3.0 makes all this obsolete (considering it's launching yesterday or today) I guess that that's not too much of an issue.

from origami.

hotforfeature avatar hotforfeature commented on June 8, 2024

Closing since v3 no longer patches the CLI

from origami.

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.