Git Product home page Git Product logo

Comments (6)

ivandaum avatar ivandaum commented on August 10, 2024 2

My bad, I managed to understand what you meant in #6 and fixed it (I thought the es5 build was auto-implement with the alias)!

For those who, like me, has trouble to understand, it can be fix by adding the follow line in your webpack, after the exclude: /node_modules/ :

include: '/node_modules/@dogstudio/highway/build/es5/highway.js',

Anway, thanks a lot guys!

from highway.

 avatar commented on August 10, 2024 1

@ivandaum I found a better solution to your problem. In your case you exclude completely node_modules and if you add a new library you will have to add the new library in include.

I prefer to import the right file into javascript:

import Highway from '@dogstudio/highway/build/es5/highway.js';

In the documentation:

import Highway from '@dogstudio/highway';

😊👋

from highway.

ThaoD5 avatar ThaoD5 commented on August 10, 2024

Hello @ivandaum can you provide us some more informations about your Highway version ? Maybe try an update of it in case your version is behind ?

Thanks for you input,

Thao

from highway.

ivandaum avatar ivandaum commented on August 10, 2024

Hi @ThaoD5,

I'm currently using Higthway 2.0.8.

from highway.

ThaoD5 avatar ThaoD5 commented on August 10, 2024

It could be interesting to have your webpack.config.js here so that we can maybe figure things out faster, would this be possible for you ?

from highway.

ThaoD5 avatar ThaoD5 commented on August 10, 2024

@ivandaum glad you found a solution for this, thanks for maybe enlightening other people that could have the same issue :)

Have a good day !

from highway.

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.