diff --git a/config/exceptions.yaml b/config/exceptions.yaml index 4dc7bf906ff..551f5c1ae07 100644 --- a/config/exceptions.yaml +++ b/config/exceptions.yaml @@ -24,6 +24,9 @@ packageJson: css-theme: main: dist/theme.css module: '!' + i18n: + # react-scripts doesn't handle .mjs files correctly + module: '!' utils: # react-scripts doesn't handle .mjs files correctly module: '!' diff --git a/config/scripts.yaml b/config/scripts.yaml index 72923876c84..1c18c1e0b50 100644 --- a/config/scripts.yaml +++ b/config/scripts.yaml @@ -28,6 +28,10 @@ core: test: "BABEL_ENV=production nyc mocha tests/*.test.js" report: "BABEL_ENV=production nyc report --reporter=html mocha --compilers js:babel-core/register tests/*.test.js" coverage: "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov" +i18n: + # react-scripts doesn't handle .mjs files correctly + modulebuild: '!' + build: "npm run clean && npm run nodebuild" pattern-info: prebuild: "node src/prebuild.js" utils: