🔧 Removed ES modules exports for i18n because react-scripts
This commit is contained in:
parent
464c65db1f
commit
566007656f
2 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,9 @@ packageJson:
|
||||||
css-theme:
|
css-theme:
|
||||||
main: dist/theme.css
|
main: dist/theme.css
|
||||||
module: '!'
|
module: '!'
|
||||||
|
i18n:
|
||||||
|
# react-scripts doesn't handle .mjs files correctly
|
||||||
|
module: '!'
|
||||||
utils:
|
utils:
|
||||||
# react-scripts doesn't handle .mjs files correctly
|
# react-scripts doesn't handle .mjs files correctly
|
||||||
module: '!'
|
module: '!'
|
||||||
|
|
|
@ -28,6 +28,10 @@ core:
|
||||||
test: "BABEL_ENV=production nyc mocha tests/*.test.js"
|
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"
|
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"
|
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:
|
pattern-info:
|
||||||
prebuild: "node src/prebuild.js"
|
prebuild: "node src/prebuild.js"
|
||||||
utils:
|
utils:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue