Revert "fix: Remove pointless Maintenance and Announcement apps (#35852)"
This reverts commit 9274852f2d.
This commit is contained in:
@@ -133,6 +133,7 @@ module.exports = Merge.smart({
|
||||
CourseSock: './openedx/features/course_experience/static/course_experience/js/CourseSock.js',
|
||||
Currency: './openedx/features/course_experience/static/course_experience/js/currency.js',
|
||||
|
||||
AnnouncementsView: './openedx/features/announcements/static/announcements/jsx/Announcements.jsx',
|
||||
CookiePolicyBanner: './common/static/js/src/CookiePolicyBanner.jsx',
|
||||
|
||||
// Common
|
||||
@@ -193,19 +194,19 @@ module.exports = Merge.smart({
|
||||
multiple: [
|
||||
{ search: defineHeader, replace: '' },
|
||||
{ search: defineFooter, replace: '' },
|
||||
{
|
||||
{
|
||||
search: /(\/\* RequireJS) \*\//g,
|
||||
replace(match, p1, offset, string) {
|
||||
return p1;
|
||||
}
|
||||
},
|
||||
{
|
||||
{
|
||||
search: /\/\* Webpack/g,
|
||||
replace(match, p1, offset, string) {
|
||||
return match + ' */';
|
||||
}
|
||||
},
|
||||
{
|
||||
{
|
||||
search: /text!(.*?\.underscore)/g,
|
||||
replace(match, p1, offset, string) {
|
||||
return p1;
|
||||
@@ -656,13 +657,13 @@ module.exports = Merge.smart({
|
||||
// We used to have node: { fs: 'empty' } in this file,
|
||||
// that is no longer supported. Adding this based on the recommendation in
|
||||
// https://stackoverflow.com/questions/64361940/webpack-error-configuration-node-has-an-unknown-property-fs
|
||||
//
|
||||
//
|
||||
// With this uncommented tests fail
|
||||
// Tests failed in the following suites:
|
||||
// * lms javascript
|
||||
// * xmodule-webpack javascript
|
||||
// Error: define cannot be used indirect
|
||||
//
|
||||
//
|
||||
// fallback: {
|
||||
// fs: false
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user