Skip to content

Commit 7876c07

Browse files
committed
fix: perfect scrollbar issue
1 parent ab903e1 commit 7876c07

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/rollup.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const BUNDLE = process.env.BUNDLE === 'true'
99
const year = new Date().getFullYear()
1010

1111
let fileDest = 'coreui.js'
12-
const external = ['jquery']
12+
const external = ['jquery', 'perfect-scrollbar']
1313
const plugins = [
1414
babel({
1515
exclude: 'node_modules/**', // Only transpile our source code
@@ -22,7 +22,8 @@ const plugins = [
2222
})
2323
]
2424
const globals = {
25-
jquery: 'jQuery'
25+
jquery: 'jQuery',
26+
'perfect-scrollbar': 'PerfectScrollbar'
2627
}
2728

2829
if (BUNDLE) {

0 commit comments

Comments
 (0)