mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 20:09:25 +00:00
Go for a more generic js bundling architecture
* Don't tie the output name to webpack itself * Don't call js bundling webpack in python code * Make the doc more generic about js bundling
This commit is contained in:
@ -76,7 +76,7 @@ class NFCTextInput(TextInput):
|
||||
def get_context(self, name, value, attrs):
|
||||
context = super().get_context(name, value, attrs)
|
||||
context["statics"] = {
|
||||
"js": staticfiles_storage.url("webpack/core/components/nfc-input-index.ts"),
|
||||
"js": staticfiles_storage.url("bundled/core/components/nfc-input-index.ts"),
|
||||
"css": staticfiles_storage.url("core/components/nfc-input.scss"),
|
||||
}
|
||||
return context
|
||||
|
Reference in New Issue
Block a user