influxdata / influxdata/giraffe

Webpack: new scss files are not handled correctly

Open
#648 0 comments 0 reactions 0 assignees View on GitHub
kind/feature request team/dumplings team/ui
Dominant language
TypeScript
Stars
189
Forks
33
Avg merge
3d 15h
Merged PRs (30d)
4

Description

Right now, adding a new .scss file requires manually creating and committing a corresponding `.scss.d.ts` for the TypeScript definitions.

Ideally, the `.scss.d.ts` should be auto-generated including for brand new `.scss` files when they are first added. There are webpack plugins and build tools available to assist with this missing step.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Webpack configuration and the current handling of .scss and .scss.d.ts files. Check how existing SCSS declarations are generated, then verify that adding a brand-new .scss file produces its corresponding TypeScript definition without manual creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.