forked from bootstrap-vue/bootstrap-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicons-only.js
33 lines (27 loc) · 979 Bytes
/
icons-only.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Icons only build
import { BootstrapVueIcons, IconsPlugin } from './icons'
const install = BootstrapVueIcons.install
const NAME = BootstrapVueIcons.NAME
export {
// Installer exported just in case the consumer does not import `default`
// as the plugin in CommonJS build (or does not have interop enabled
// for CommonJS). Both the following will work:
// BootstrapVueIcons = require('bootstrap-vue/dist/bootstrap-vue-icons.common')
// BootstrapVueIcons = require('bootstrap-vue/dist/bootstrap-vue-icons.common').default
// Vue.use(BootstrapVueIcons)
install,
NAME,
// Main BootstrapVueIcons Plugin
BootstrapVueIcons,
IconsPlugin
}
//
// Export Icon components
//
// export * from './icons'
export { BIcon } from './icons/icon'
// This re-export is only a single level deep, which
// Webpack 4 handles correctly when tree shaking
export * from './icons/icons'
// Default export is the BootstrapVueIcons plugin
export default BootstrapVueIcons