UNPKG

bootstrap-layout

Version:

Bootstrap layout with sidebar navigation, sidebar skins, sidebar transition, custom scrollbars, sidebar menus and other advanced features and utilities

27 lines (26 loc) 568 B
var path = require('path') var WebpackConfig = require('themekit-webpack-config') var config = new WebpackConfig() .withStandaloneEntry('bootstrap-layout') .withLibrary('BootstrapLayout') .withAlias({ 'bootstrap-layout': path.resolve(__dirname, '..') }) .webpack({ sassLoader: { importer: require('sass-importer-npm') }, sassImportLoader: { base: './src/sass/_variables.scss' }, externals: [{ 'jquery': { root: '$', commonjs2: 'jquery', commonjs: 'jquery', amd: 'jquery' } }] }) .use('extract') module.exports = config