1
0
Fork 0

🔧 Removed ES modules exports for utils because react-scripts

This commit is contained in:
Joost De Cock 2019-05-03 13:35:02 +02:00
parent 42c418ac10
commit 4433b3d3ab
2 changed files with 7 additions and 0 deletions

View file

@ -24,4 +24,7 @@ packageJson:
css-theme:
main: dist/theme.css
module: '!'
utils:
# react-scripts doesn't handle .mjs files correctly
module: '!'

View file

@ -30,4 +30,8 @@ core:
coverage: "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov"
pattern-info:
prebuild: "node src/prebuild.js"
utils:
# react-scripts doesn't handle .mjs files correctly
modulebuild: '!'
build: "npm run clean && npm run nodebuild"