Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run build removes needed scripts #10

Open
bdeshi opened this issue Feb 14, 2020 · 0 comments
Open

npm run build removes needed scripts #10

bdeshi opened this issue Feb 14, 2020 · 0 comments

Comments

@bdeshi
Copy link

bdeshi commented Feb 14, 2020

javascript files for various widgets (like asciinema, mermaid etc) are only kept in static/assets/js.

But the default build command (NODE_ENV=production webpack) first deletes everything from that folder, so those widgets don't work anymore afterwards.


these are deleted as of 97989c2:

deleted:    static/assets/js/Chart.js
deleted:    static/assets/js/WaveDrom.js
deleted:    static/assets/js/asciinema-player.js
deleted:    static/assets/js/flowchart-latest.js
deleted:    static/assets/js/mermaid.min.js
deleted:    static/assets/js/narrow.js
deleted:    static/assets/js/raphael.min.js
deleted:    static/assets/js/sequence-diagram-min.js
deleted:    static/assets/js/snap.svg-min.js
deleted:    static/assets/js/underscore-min.js
deleted:    static/assets/js/viz.js
deleted:    static/assets/js/viz.render.js
deleted:    static/assets/js/webfont.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant