node-rename-css-selectors icon indicating copy to clipboard operation
node-rename-css-selectors copied to clipboard

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

Open ajoykarmakar459 opened this issue 5 years ago • 4 comments

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

ajoykarmakar459 avatar Jan 31 '20 12:01 ajoykarmakar459

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

JPeer264 avatar Feb 06 '20 08:02 JPeer264

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

ajoykarmakar459 avatar Feb 06 '20 14:02 ajoykarmakar459

Alright thanks. I will check that plugin :)

JPeer264 avatar Feb 07 '20 03:02 JPeer264

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');

JPeer264 avatar Feb 12 '20 01:02 JPeer264