overleaf/services/web/config/settings.webpack.coffee
Timothée Alby 03b2d184b5 Merge pull request #4052 from overleaf/ab-subscription-page-split-test-2
Subscription page split test

GitOrigin-RevId: 022a91d97f20d584e47e1f6b5575e689983df129
2021-05-20 02:05:00 +00:00

21 lines
905 B
CoffeeScript

Path = require('path')
module.exports = {
overleafModuleImports: {
# modules to import (an array of paths relative to this file in /app/config at build time)
createFileModes: [
Path.resolve(__dirname, '../modules/tpr-webmodule/frontend/js/components/create-file-mode-mendeley.js'),
Path.resolve(__dirname, '../modules/tpr-webmodule/frontend/js/components/create-file-mode-zotero.js')
],
tprLinkedFileInfo: [
Path.resolve(__dirname, '../modules/tpr-webmodule/frontend/js/components/linked-file-info.js')
],
tprLinkedFileRefreshError: [
Path.resolve(__dirname, '../modules/tpr-webmodule/frontend/js/components/linked-file-refresh-error.js')
],
gitBridge: [Path.resolve(__dirname, '../modules/git-bridge/frontend/js/components/git-bridge-modal.js')]
publishModal: [
Path.resolve(__dirname, '../modules/publish-modal/frontend/js/components/publish-toolbar-button')
]
}
}