by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    MicroDreamIT
    @MicroDreamIT
    We are here to help on shapecss, please check the website for documentation, https://shapecss.com
    MicroDreamIT
    @MicroDreamIT
    @cristijora here we can chat... :)
    MicroDreamIT
    @MicroDreamIT
    @cristijora Thank you for your suggestion. I am working on it. Keep advising me. Plus let me know how can i help you...
    ashiqul
    @AshiqulCse_twitter
    Hello! ShapeCss :-)
    Hello! ShapeCss :-)
    MicroDreamIT
    @MicroDreamIT
    how are you doing?
    ashiqul
    @AshiqulCse_twitter
    shadow Is good , But i think it should be a little bit transparent :-)
    MicroDreamIT
    @MicroDreamIT
    Yes you can use add .no-shadow class. Shadow will be removed automatically.
    MicroDreamIT
    @MicroDreamIT
    @cristijora Thank you brother.
    @cristijora We will be grateful if you join our team. This is just the beginning...
    Winson Tsang
    @winsontsang
    Hii
    Actually need to relog :P
    explosivesushi
    @explosivesushii_twitter
    Back
    MicroDreamIT
    @MicroDreamIT
    for example
    explosivesushi
    @explosivesushii_twitter
    ?
    MicroDreamIT
    @MicroDreamIT
    /es5(for node_module)
          files(converted)
    /es6
        files(writing es6 code)
    package.json (contain transformer)
    we need a automatic transformer.
    from es6 to es5
    what do you think?
    @explosivesushii_twitter
    because do you think we need to write the source code in es5?
    explosivesushi
    @explosivesushii_twitter
    You can use a local Webpack version to transpile your code to ES5 or just use ES5 on its own. The distribution folder will always be in ES5
    Your distribution folder could be a full version, min version or a folder with all the separate components as es5
    MicroDreamIT
    @MicroDreamIT

    we can make directory structure like this as Sean(core dev of webpack) suggested

    /src (converted code)
    shape.js (entry file)
        /assets
            tab.js (es-5)
    /dev-code
      /assets
          Tab.js(es-6)

    like this

    explosivesushi
    @explosivesushii_twitter
    Best is probably on root
    So you can do import { Tab } from “shapecss” in Webpack
    MicroDreamIT
    @MicroDreamIT
    because as Sean suggested us that we should no longer write code in es5.
    yes
    explosivesushi
    @explosivesushii_twitter
    Yes, you will need to compile with a local Webpack.config
    MicroDreamIT
    @MicroDreamIT
    just we need to configure the transformer that convert es6 code to es5
    exactly
    explosivesushi
    @explosivesushii_twitter
    but one question is why are you mixing the file from node modules?
    MicroDreamIT
    @MicroDreamIT
    because people use npm install shapecss. Naturally it will be on node_module.
    explosivesushi
    @explosivesushii_twitter
    yes but why would they need to compile from source?
    You can easily just .copy or concat the file using .scripts on your dist es5 file or do you want to let them choose?
    MicroDreamIT
    @MicroDreamIT
    i can use it outside personally outside.
    They need to compile from node_module. That's what we are trying to fix
    explosivesushi
    @explosivesushii_twitter
    You will have to set up a package.json with .babelrc and webpack.config.js
    MicroDreamIT
    @MicroDreamIT
    yes they can do it. What I am trying to do that it can be use everywhere. Exactly bro. Because we can make something perfect.