🔧 Removed ES modules exports for utils because react-scripts
This commit is contained in:
parent
42c418ac10
commit
4433b3d3ab
2 changed files with 7 additions and 0 deletions
|
@ -24,4 +24,7 @@ packageJson:
|
||||||
css-theme:
|
css-theme:
|
||||||
main: dist/theme.css
|
main: dist/theme.css
|
||||||
module: '!'
|
module: '!'
|
||||||
|
utils:
|
||||||
|
# react-scripts doesn't handle .mjs files correctly
|
||||||
|
module: '!'
|
||||||
|
|
||||||
|
|
|
@ -30,4 +30,8 @@ core:
|
||||||
coverage: "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov"
|
coverage: "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov"
|
||||||
pattern-info:
|
pattern-info:
|
||||||
prebuild: "node src/prebuild.js"
|
prebuild: "node src/prebuild.js"
|
||||||
|
utils:
|
||||||
|
# react-scripts doesn't handle .mjs files correctly
|
||||||
|
modulebuild: '!'
|
||||||
|
build: "npm run clean && npm run nodebuild"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue