Custom bundle doesn't generate CSS file anymore.
Aperta
Nessuno ha ancora preso questa issue.
bug
P2
- Lingua principale
- JavaScript
- Stelle
- 18.3k
- Fork
- 2k
- Merge medio
- 2g 12h
- PR unite (30g)
- 28
Descrizione
When generating a custom bundle, no CSS file is generated any more, even though it's mentioned in the output.
Steps to reproduce
$ git clone https://github.com/plotly/plotly.js.git
$ cd plotly.js
$ git checkout e6b155c1c91603eb0946f111bc3415b222422230
$ npm install
$ npm run custom-bundle -- --traces sunburst --transforms none --strict --out sunburst
> plotly.js@2.35.2 custom-bundle
> node tasks/custom_bundle.mjs --traces sunburst --transforms none --strict --out sunburst
{
traceList: [ 'scatter', 'sunburst' ],
name: 'sunburst',
index: '/users/tkm/dhauck/kekse/plotly.js/lib/index-strict-sunburst.js',
strict: true,
dist: '/users/tkm/dhauck/kekse/plotly.js/dist/plotly-sunburst.js',
distMin: '/users/tkm/dhauck/kekse/plotly.js/dist/plotly-sunburst.min.js'
}
dist/plotly-sunburst.min.js 1.0mb ⚠️
dist/plotly-sunburst.min.css 63.9kb
⚡ Done in 750ms
This results in the following extra files being generated:
$ git clean -dxn
Would remove dist/plotly-sunburst.min.js
Would remove lib/index-strict-sunburst.js
Would remove node_modules/
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia da tasks/custom_bundle.mjs e riproduci il comando documentato npm run custom-bundle al commit e6b155c1c91603eb0946f111bc3415b222422230. Confronta il dist/plotly-sunburst.min.js generato e l'output CSS previsto con git clean -dxn; l'attività è conclusa quando il custom bundle genera il file CSS menzionato nell'output della build.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 55/100