Coder Social home page Coder Social logo

Unexpected token import about micro HOT 5 CLOSED

vercel avatar vercel commented on May 14, 2024
Unexpected token import

from micro.

Comments (5)

leo avatar leo commented on May 14, 2024 5

We recently dropped support for ES6 in 6.0.0. Please transpile the code by yourself (using gulp/webpack/rollup) if you still want to use these features... 😊

from micro.

MiguhRuiz avatar MiguhRuiz commented on May 14, 2024

I can't understand it, the package.json has babel-register, babel-plugin-transform-async-to-generator, babel-plugin-transform-runtime, babel-preset-es2015, babel-runtime so the code might compile because micro works with ES6.

from micro.

MiguhRuiz avatar MiguhRuiz commented on May 14, 2024

But I'm using 6.4.0 :S

from micro.

leo avatar leo commented on May 14, 2024

@MiguhRuiz I'm talking about the version of micro 😄

from micro.

MiguhRuiz avatar MiguhRuiz commented on May 14, 2024

Alright, I'll use a transpiler. Thanks!!
El El sáb, 20 ago 2016 a las 13:54, Leo Lamprecht [email protected]
escribió:

@MiguhRuiz https://github.com/MiguhRuiz I'm talking about the version
of micro 😄


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#84 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFDmNrUqUg83u9SeHGE9DVMAYuoP0P1gks5qhusRgaJpZM4JpDWH
.

from micro.

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.