forked from cockpit-project/cockpit
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This needs a bunch of new runtime dependencies. In particular, welder does not (currently) work with react-lite. As webpack aliases can't be made specific to subdirectories, dynamically add the react → react-lite alias when building the welder directory. Note that this *only* works with our tools/webpack-make build system, not with calling plain "webpack" (due to the above limitation). It isn't possible to change import statements to "react-lite", or import "react-full" from welder and alias that to react, as the imports of the imported NPM dependencies would still be wrong. Add `*.jsx` to webpack's module extensions, to allow welder (and other) code to `import` other `*.jsx` modules without extension. Don't install welder on Debian/Ubuntu, as there is no viable backend for it in sight.
- Loading branch information
1 parent
6ae5fd0
commit 9374d7d
Showing
7 changed files
with
67 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,6 +168,7 @@ WEBPACK_PACKAGES = \ | |
systemd \ | ||
tuned \ | ||
users \ | ||
welder \ | ||
$(NULL) | ||
|
||
V_WEBPACK = $(V_WEBPACK_$(V)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters