kibana-123
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
40 lines (34 loc) • 750 B
JavaScript
var path = require('path');
module.exports = {
devtool: 'source-map',
entry: {
guide: './ui_framework/doc_site/src/index.js'
},
output: {
path: path.resolve(__dirname, 'ui_framework/doc_site/build'),
filename: 'bundle.js'
},
resolve: {
root: [
path.resolve(__dirname, 'src/ui_framework/doc_site')
]
},
module: {
loaders: [{
test: /\.jsx?$/,
loader: 'babel',
exclude: /node_modules/
}, {
test: /\.scss$/,
loaders: ['style', 'css', 'postcss', 'sass'],
exclude: /node_modules/
}, {
test: /\.html$/,
loader: 'html',
exclude: /node_modules/
}, {
test: require.resolve('jquery'),
loader: 'expose?jQuery!expose?$'
}]
}
};