rollup-plugin-cleanup | Rollup plugin to remove comments | Plugin library
kandi X-RAY | rollup-plugin-cleanup Summary
kandi X-RAY | rollup-plugin-cleanup Summary
Rollup plugin to remove comments, trim trailing spaces, compact empty lines, and normalize line endings
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rollup-plugin-cleanup
rollup-plugin-cleanup Key Features
rollup-plugin-cleanup Examples and Code Snippets
Community Discussions
Trending Discussions on rollup-plugin-cleanup
QUESTION
I have made a package for my login form that use react-redux
and redux-form.
Both react-redux
and redux-form
are peer dependencies.
During the build of my rollup, I don't have any error message.
When I try to import my package into a project I have:
WARNING in ./node_modules/login-form/dist/login-form.es.js 7455:22-33 "export 'default' (imported as '_reactRedux') was not found in 'react-redux'
WARNING in ./node_modules/login-form/dist/login-form.es.js 7505:17-23 "export 'default' (imported as '_redux') was not found in 'redux'
I have never imported myself redux
in my login form project.
This is how I imported
...redux-form
in my project:
ANSWER
Answered 2017-Sep-30 at 04:22If you are using version 5.0.0+ you need to add the following in your config:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rollup-plugin-cleanup
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page