GithubHelp home page GithubHelp logo

shrynx / babel-plugin-transform-dynamic-import-to-static Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 31 KB

a babel plugin to convert dynamic import to static import

Home Page: https://astexplorer.net/#/gist/5438970728b1d0cf707ee83b40e26aba/f0ddf75c590ad62fb449f2b83dd944f9a9026b43

License: MIT License

JavaScript 100.00%

babel-plugin-transform-dynamic-import-to-static's People

Contributors

shrynx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

technophilic

babel-plugin-transform-dynamic-import-to-static's Issues

Babel 7 Support

Are there any plans to have Babel 7 support?

I'm getting the following error during build.

Module build failed (from ../node_modules/babel-loader/lib/index.js):
TypeError: Cannot read property 'rawValue' of undefined
    at PluginPass.enter (C:\ws\Djanno\src\node_modules\babel-plugin-transform-dynamic-import-to-static\index.js:23:62)
    at newFn (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\visitors.js:193:21)
    at NodePath._call (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\path\context.js:53:20)
    at NodePath.call (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\path\context.js:40:17)
    at NodePath.visit (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\path\context.js:88:12)
    at TraversalContext.visitQueue (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\context.js:118:16)
    at TraversalContext.visitSingle (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\context.js:90:19)
    at TraversalContext.visit (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\context.js:146:19)
    at Function.traverse.node (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\index.js:94:17)
    at NodePath.visit (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\path\context.js:95:18)
    at TraversalContext.visitQueue (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\context.js:118:16)
    at TraversalContext.visitSingle (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\context.js:90:19)
    at TraversalContext.visit (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\context.js:146:19)
    at Function.traverse.node (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\index.js:94:17)
    at NodePath.visit (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\path\context.js:95:18)
    at TraversalContext.visitQueue (C:\ws\Djanno\src\node_modules\@babel\traverse\lib\context.js:118:16)

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.