mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-21 21:53:30 +00:00
Don't collect .ts files in statics
This commit is contained in:
parent
37f62e15cf
commit
9247696c1c
@ -5,8 +5,10 @@ from django.contrib.staticfiles.apps import StaticFilesConfig
|
|||||||
GENERATED_ROOT = Path(__file__).parent.resolve() / "generated"
|
GENERATED_ROOT = Path(__file__).parent.resolve() / "generated"
|
||||||
IGNORE_PATTERNS_WEBPACK = ["webpack/*"]
|
IGNORE_PATTERNS_WEBPACK = ["webpack/*"]
|
||||||
IGNORE_PATTERNS_SCSS = ["*.scss"]
|
IGNORE_PATTERNS_SCSS = ["*.scss"]
|
||||||
|
IGNORE_PATTERNS_TYPESCRIPT = ["*.ts"]
|
||||||
IGNORE_PATTERNS = [
|
IGNORE_PATTERNS = [
|
||||||
*StaticFilesConfig.ignore_patterns,
|
*StaticFilesConfig.ignore_patterns,
|
||||||
|
*IGNORE_PATTERNS_TYPESCRIPT,
|
||||||
*IGNORE_PATTERNS_WEBPACK,
|
*IGNORE_PATTERNS_WEBPACK,
|
||||||
*IGNORE_PATTERNS_SCSS,
|
*IGNORE_PATTERNS_SCSS,
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user