GithubHelp home page GithubHelp logo

Publish as ES6 module about angular HOT 5 CLOSED

btford avatar btford commented on April 28, 2024
Publish as ES6 module

from angular.

Comments (5)

Raynos avatar Raynos commented on April 28, 2024

For re-usable core modules to be used in the JS ecosystem it's best to write them in ES5.

Zone.js is the type of thing that touches everything you do in your app, writing it by hand and optimizing it by hand is better then relying on an ES6 -> ES5 compiler.

from angular.

laurelnaiad avatar laurelnaiad commented on April 28, 2024

But publishing it in an ES6 module wrapper -- along with publishing it in UMD, CJS and as a global object polluter -- that might have some value.

from angular.

btford avatar btford commented on April 28, 2024

@Raynos I agree.

Like @stu-salsbury said, I'd be writing this in ES5, but publishing with the ES6 module syntax using a build script that wraps it.

from angular.

JiaLiPassion avatar JiaLiPassion commented on April 28, 2024

We now have ES2015 module.

from angular.

angular-automatic-lock-bot avatar angular-automatic-lock-bot commented on April 28, 2024

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

from angular.

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.