Giter VIP home page Giter VIP logo

Comments (8)

treshugart avatar treshugart commented on May 25, 2024 2

Once they release, I we can set the dep versions to * and not have to do this dance anymore.

from web-components.

Hotell avatar Hotell commented on May 25, 2024 1

great, no errors.
Closed by https://github.com/skatejs/web-components/releases/tag/v5.0.2

from web-components.

treshugart avatar treshugart commented on May 25, 2024

Possibly an issue with using very old commits. Updating now to see if that fixes things. Your pen ws using master (and not including the native-shim).

from web-components.

Hotell avatar Hotell commented on May 25, 2024

great! thanks!

from web-components.

treshugart avatar treshugart commented on May 25, 2024

Updated both pens:

There was an issue with the @ one where you needed to drop babel transpilation for CE's to work in native. I had issues when using the native-shim with Babel. Not sure why.

from web-components.

Hotell avatar Hotell commented on May 25, 2024

hmm but still. With Raw polyfills, contents of custom-style are transformed correctly

from .hello{ color: red } to .hello:not(.style-scope) { color: red; }

although with skate polyfills, there is no transformation at all :-|

from web-components.

treshugart avatar treshugart commented on May 25, 2024

That's really interesting. We should look into this. If I reverse the inclusion order of Shady DOM / CSS so CSS comes first when loading the @ fills directly, then I get the same behaviour. I wonder if somehow DOM is not coming before CSS even though we're using require() in order.

from web-components.

treshugart avatar treshugart commented on May 25, 2024

Had to fix the entry points we were importing as the polyfills have different conventions for each repo. This is a result of them not publishing unminified sources as we have to consume unminified sources so we can create our bundles. Raised an issue in https://github.com/webcomponents/custom-elements/issues/45 to see if we can address that.

from web-components.

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.