lokyoung / vuejs-paginate

A Vue.js(v2.x+) component for creating pagination.
MIT License
778 stars 171 forks source link

Add .babelrc file to .npmignore #53

Closed hamzehdoostie closed 6 years ago

hamzehdoostie commented 7 years ago

Hi,

I am trying to use this for ssr. To work around https://github.com/lokyoung/vuejs-paginate/issues/44, I import it like this:

import Paginate from 'vuejs-paginate/src/components/Paginate';

The problem is I also use babel in my project, and your .babelrc file is getting used by my babel.

If you add .babelrc to .npmignore that would fix this.

Thanks

lokyoung commented 6 years ago

Hi @hamzehdoostie . The .babelrc in the project is also used for test plugins. Did you find a way to solve your issue? Sorry for replying sooooooooo later.

lokyoung commented 6 years ago

@hamzehdoostie Any problems just reopen this issue. I will close it for now. Thanks.