Giter Site home page Giter Site logo

Comments (9)

dylanvorster avatar dylanvorster commented on May 2, 2024

thats because JetBrains is compiling your software. I will add the compileOnSave: false to the tsconfig, then Jetbrains will do the right thing (I use netbeans so this is not a problem)

from react-diagrams.

gen4sp avatar gen4sp commented on May 2, 2024

No, it is not JetBrains.
seems, adding "outDir": "./dist" to tsconfig solve the issue

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024

have you tried with the latest commit? i added the "compileOnSave": false,

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024

I'm using webpack to build the library, so Jetbrains should not spit out any files at all. The IDE should respect that directive.

from react-diagrams.

gen4sp avatar gen4sp commented on May 2, 2024

I build by run "tsc" in root folder. Files appear after that command.
I've added "compileOnSave": false, by myself, it doesn't work out.

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024

yeah don't run tsc, rather run webpack

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024

the reason we use webpack compared to tsc, is that webpack will spit out a single UMD bundle, which tsc cannot do (tsc can only spit out multi file UMD files)

from react-diagrams.

gen4sp avatar gen4sp commented on May 2, 2024

Ok, thanks!
Please, update the doc then, the "build" part )

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024

will do

from react-diagrams.

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.