Giter Club home page Giter Club logo

Comments (7)

sletz avatar sletz commented on August 17, 2024

Strange, because I was using "npm run build" as described in the README...

from faustide.

Fr0stbyteR avatar Fr0stbyteR commented on August 17, 2024

Just a reminder, if you are using npm run dist for minified js, make sure you changed index.js to index.min.js in index.html where it loads the script, and maybe need more cleanups...

from faustide.

dfober avatar dfober commented on August 17, 2024

ok ! it works with the change.
It's a dangerous trap. We should find a way to change that automatically.
Would it be in webpack possibilities?

from faustide.

sletz avatar sletz commented on August 17, 2024

I guess "dist" produces more efficient code (like minified stuff and so on?)
@Fr0stbyteR what is the recommend way to do then ?

from faustide.

Fr0stbyteR avatar Fr0stbyteR commented on August 17, 2024

dist is a kinda more efficient but as faust2webaudio is already minified, I don't think there would be huge difference, plus, dist is really slow so I usually do the build.
It is possible to dynamically choose which index.html to produce using webpack with CopyWebpackPlugin, which copies files automatically, possibly with CleanWebpackPlugin which do the cleanups.

from faustide.

Fr0stbyteR avatar Fr0stbyteR commented on August 17, 2024

I'll try to do a PR for this in the week

from faustide.

Fr0stbyteR avatar Fr0stbyteR commented on August 17, 2024

#15

from faustide.

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.