You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you did:
I am trying to make my own component library for frequently used components, and reducers etc. As long I am doing npm run build it's all working fine but when I am trying to run npm run build --bundle it's failing for theumd-build with the following error:
[umd] [!] (babel plugin) TypeError: @babel/template placeholder "NODE": Property expression of ExpressionStatement expected node to be of a type ["Expression"] but instead got "VariableDeclarator"
[umd] node_modules/react-datepicker/es/index.js
[umd] TypeError: @babel/template placeholder "NODE": Property expression of ExpressionStatement expected node to be of a type ["Expression"] but instead got "VariableDeclarator"
What happened:
After executing the command ./node_modules/.bin/kcd-scripts build --bundle --no-clean --size-snapshot as found in the paypal/downshift-repo. I am getting the above mentioned error. I am not sure how I could resolve this.
Problem description:
I am doing something wrong when using third-party packages but not sure what. I think the problem that this package react-datepicker is already precompiled.
Suggested solution:
The text was updated successfully, but these errors were encountered:
You need to override the commonjs rollup plugin I'm guessing.
As a reminder, I'm not supporting this package. I use it myself and I fix my own issues, but I don't help support other people's use cases. I don't have time. Feel free to fork it.
kcd-scripts
version: 0.48.0node
version: v11.3.0npm
(oryarn
) version:(see index.js)
What you did:
I am trying to make my own component library for frequently used components, and reducers etc. As long I am doing
npm run build
it's all working fine but when I am trying to runnpm run build --bundle
it's failing for theumd
-build with the following error:What happened:
After executing the command
./node_modules/.bin/kcd-scripts build --bundle --no-clean --size-snapshot
as found in thepaypal/downshift
-repo. I am getting the above mentioned error. I am not sure how I could resolve this.Reproduction repository:
I have made a small reproducible case of my issue:
https://github.com/weyert/kcd-scripts-issue
Problem description:
I am doing something wrong when using third-party packages but not sure what. I think the problem that this package
react-datepicker
is already precompiled.Suggested solution:
The text was updated successfully, but these errors were encountered: