diff options
Diffstat (limited to 'scripts/frontend/create_jsconfig.js')
-rwxr-xr-x | scripts/frontend/create_jsconfig.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/scripts/frontend/create_jsconfig.js b/scripts/frontend/create_jsconfig.js index be95c5cb2d3..28674aacd45 100755 --- a/scripts/frontend/create_jsconfig.js +++ b/scripts/frontend/create_jsconfig.js @@ -31,18 +31,8 @@ async function createJsConfig() { const webpackConfig = require('../../config/webpack.config'); // Aliases - const paths = { - // NOTE: Sentry is exposed via a wrapper, which has a limited API. - '@sentry/browser': [ - path.relative(PATH_PROJECT_ROOT, 'app/assets/javascripts/sentry/sentry_browser_wrapper.js'), - ], - }; - const WEBPACK_ALIAS_EXCEPTIONS = [ - 'jquery$', - '@gitlab/svgs/dist/icons.svg', - '@apollo/client$', - '@sentry/browser$', - ]; + const paths = {}; + const WEBPACK_ALIAS_EXCEPTIONS = ['jquery$', '@gitlab/svgs/dist/icons.svg', '@apollo/client$']; Object.entries(webpackConfig.resolve.alias) .filter(([key]) => !WEBPACK_ALIAS_EXCEPTIONS.includes(key)) .forEach(([key, value]) => { |