|
@@ -59,12 +59,17 @@ module.exports = function exports() {
|
|
|
for (const [appName, moduleNames] of Object.entries(entrypoints)) {
|
|
|
moduleNames.forEach(moduleName => {
|
|
|
entry[moduleName] = {
|
|
|
- import: [
|
|
|
- `./client/src/entrypoints/${appName}/${moduleName}.js`,
|
|
|
- './client/src/utils/polyfills.js',
|
|
|
- ],
|
|
|
+ import: [`./client/src/entrypoints/${appName}/${moduleName}.js`],
|
|
|
filename: getOutputPath(appName, moduleName) + '.js',
|
|
|
};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if (moduleName !== 'userbar') {
|
|
|
+ entry[moduleName].import.push('./client/src/utils/polyfills.js');
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
|