Skip to content

fix: missing npm scripts#29

Open
koshien2015 wants to merge 2 commits intosahilverma2209:masterfrom
koshien2015:master
Open

fix: missing npm scripts#29
koshien2015 wants to merge 2 commits intosahilverma2209:masterfrom
koshien2015:master

Conversation

@koshien2015
Copy link
Copy Markdown

@koshien2015 koshien2015 commented Sep 24, 2022

Hello.
I tried to import your library into my NextJS project. However, I got the error "Can't resolve 'react-wheelpicker'" in my environment.

Fixes.

Comment out CSS import.

NextJS does not allow CSS import outside of "_app.js", so I commented it out once.
If you write

import 'react-wheelpicker/dist/index.css'

in "_app.js" separately, the styles are applied.

Fixed missing npm scripts.

The prepare command seems to be executed when installing npm, but transpile and build were not executed, so I added them.

I'm not familiar with publishing npm modules, so I'm sorry if I'm saying something wrong. Thanks for the good library.

Translated with www.DeepL.com/Translator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant