Re-enable UMD builds
Opened this issue · 0 comments
MoralCode commented
on my machine the builds (npm run prepublish
, which is what the old travis builds used to run) were failing with the following message:
> redux-first-routing@0.3.0 build:umd
> cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/redux-first-routing.js
src/index.js → dist/redux-first-routing.js...
[!] (commonjs plugin) SyntaxError: Unexpected token (14:8) in /home/ace/Projects/Current/ClassClock/contrib/redux-first-routing/src/reducer.js
src/reducer.js (14:8)
SyntaxError: Unexpected token (14:8) in /home/ace/Projects/Current/ClassClock/contrib/redux-first-routing/src/reducer.js
at error (/home/ace/Projects/Current/ClassClock/contrib/redux-first-routing/node_modules/rollup/dist/rollup.js:185:14)
at /home/ace/Projects/Current/ClassClock/contrib/redux-first-routing/node_modules/rollup/dist/rollup.js:9510:6
node v17.3.0
npm 8.3.0
i dont need UMD so i removed those parts from the prepublish script as a temporary fix. This issue exists to discuss the topic of fixing and re-adding them