JPeer264 / node-rename-css-selectors

📝 Rename css classes and id's in files
MIT License
65 stars 9 forks source link

Uncaught TypeError: (0 , r.default)(...).at is not a function #56

Open ajoykarmakar459 opened 4 years ago

ajoykarmakar459 commented 4 years ago

After compiling the source code with node-rename-css-selectors, Js files can't find the tooltip file because it's changing the class name. So there any words ignore features available? or there have any other possibilities to do this? In the console -

Screen Shot 2020-01-31 at 5 40 35 PM
JPeer264 commented 4 years ago

Thanks for your issue. Is this your own tooltip or a third party tooltip?

ajoykarmakar459 commented 4 years ago

It's a third party plugin that uses bootstrap 4. The plugin name is popper.js

JPeer264 commented 4 years ago

Alright thanks. I will check that plugin :)

JPeer264 commented 4 years ago

Do you have a small repo to reproduce this issue?

To exclude your class you can import rcs-core and exclude it from there.

const rcsCore = require('rcs-core');

rcsCore.selectorLibrary.setExclude('your-class');