UNPKG

cluedin-widget

Version:

This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.

56 lines (54 loc) 1.52 kB
module.exports = { //entry: './build/index.js', /*output: { path: 'builds', filename: 'testwebpack.js' },*/ devtool: 'inline-source-map', resolve: { extensions: [ '', '.js', '.jsx' ] }, module: { loaders: [ { test: /\.js$/, loader: 'babel', exclude: /node_modules/, query: { presets: [ "es2015", "stage-1" ] } }, { test: /\.jsx$/, loader: 'babel', exclude: /node_modules/, query: { presets: [ "es2015", "react", "stage-1" ], plugins: [ "transform-decorators-legacy", "transform-object-rest-spread" ] } }, { test: /\.css$/, loaders: [ 'style', 'css?module' ] }, { test: /\.scss$/, loaders: [ 'style', 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]', 'resolve-url', 'sass' /*'style', 'css?module', 'sass'*/ ] } ] } }; /*//include: [ __dirname + '/build', __dirname + '/core' ],*/ /* [ 'style?sourceMap', 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]', 'resolve-url', 'sass?sourceMap' ] * */