Load Jquery using rollup configuration

Hi,
Has anyone tried to load jQuery using rollup configuration. I have tried the following using rollup-plugin-inject
inject({
include: ‘/*.js’,
exclude: 'node_modules/
’,
jQuery: ‘jquery’,
})

importing inside typescripts works well in my typescript classes, but the problem is with external library.
I have to load jquery before loading external plugin which requires jQuery as it’s dependency.

Thank you.