Coder Social home page Coder Social logo

Comments (5)

nicolaspayot avatar nicolaspayot commented on July 18, 2024 1

@scottmmjackson yes you're totally right! Thanks for the PR. I'll review it right away.

from ngvue.

jaredmcateer avatar jaredmcateer commented on July 18, 2024 1

Ah I see the problem, I assumed that BABEL_ENV was just some alias/polyfill for variables like NODE_ENV when using Babel, but I actually have to set BABEL_ENV=test in my env variables even though we don't use it.

from ngvue.

scottmmjackson avatar scottmmjackson commented on July 18, 2024

Oh, no, I see what's going on.

process.env.BABEL_ENV === 'test' is where it's suppressed. Though, that may be targeting the ngVue tests themselves, and not library consumers?

https://github.com/ngvue/ngvue/blob/a4403837a535a3f26710018712109d7abe622988/lib/logger.js#L2

from ngvue.

jaredmcateer avatar jaredmcateer commented on July 18, 2024

How long are you planning on keeping this deprecation warning in ngVue? It is currently spamming the heck out of our tests even though we don't have any camelCase event names.

Screenshot from 2019-05-16 13-32-53

from ngvue.

scottmmjackson avatar scottmmjackson commented on July 18, 2024

@jaredmcateer If you're using babel, set BABEL_ENV=test. Same with webpack, but in a different way.

Yeah, it's a bit jarring, but there's a workaround here.

from ngvue.

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.