Custom bundle doesn't generate CSS file anymore.
Aberta
Ninguém assumiu esta issue ainda.
bug
P2
- Linguagem predominante
- JavaScript
- Estrelas
- 18.3k
- Forks
- 2k
- Merge médio
- 2d 12h
- PRs com merge (30d)
- 28
Descrição
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/
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece com tasks/custom_bundle.mjs e reproduza o comando documentado npm run custom-bundle no commit e6b155c1c91603eb0946f111bc3415b222422230. Compare o dist/plotly-sunburst.min.js gerado e a saída CSS esperada com git clean -dxn; está concluído quando o custom bundle gerar o arquivo CSS mencionado na saída do build.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- build-system
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 55/100