Files
frontend-app-communications/webpack.prod.config.js
Thomas Tracy ab56f12087 chore: Add exception for non es5 transpiled dep (#9)
During our CI checks on PRs, we check to see if all code can be properly
transpiled into es5 to support IE11. We've since dropped support
officially for IE11, but the check is still present. A dependency of
TinyMCE is triggering an error in the is-es5 check.

Adding this webpack config will except the package from the check, to
prevent the CI from failing. Since we no longer support IE11, This check
is not needed, and ok to bypass.
2022-01-10 14:41:28 -05:00

8 lines
208 B
JavaScript

const { createConfig } = require('@edx/frontend-build');
const config = createConfig('webpack-prod');
config.module.rules[0].exclude = /node_modules\/(?!(tinymce|@tinymce|@edx))/;
module.exports = config;