Giter VIP home page Giter VIP logo

Comments (6)

daKmoR avatar daKmoR commented on May 20, 2024

so to not be dependent on webpack as a build tool... this means we should use a "native" es module version of chai.

So basically add it to https://github.com/bundled-es-modules right? and then use that one instead of the "official" chai

from open-wc.

LarsDenBakker avatar LarsDenBakker commented on May 20, 2024

Yes if we want to stick to native es modules for everything we will need to do that. Alternatively we could check if express can be loaded with an import, and export from the window.

from open-wc.

daKmoR avatar daKmoR commented on May 20, 2024

I would say the more "correct" solution would be "native" es modules for chai itself. using it via some express magic feels like a workaround.

We should do this for sinon then as well 💪

PS: just thinking using renovate auto merge + fully CD we should be able to get automatically new versions released (without any manual work)... uh that sounds like a good plan for bundled-es-modules

from open-wc.

LarsDenBakker avatar LarsDenBakker commented on May 20, 2024

Sinon 7 ships native es modules :D wct is still on sinon v1 haha.

Are you able to make the es version of chai? Then ill work on the changes to the testing package

from open-wc.

daKmoR avatar daKmoR commented on May 20, 2024

uuhh nice - native es version 👍

sounds good will make it right now :) published name will be @bundled-es-modules/chai I guess

from open-wc.

daKmoR avatar daKmoR commented on May 20, 2024

solved with latest release

from open-wc.

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.