UNPKG

sf_authentication_client

Version:

Libary_SmartFun

37 lines 784 B
var path = require("path"); module.exports = { entry: [ './src_client/index.jsx' ], output: { path: './src_client/build/', publicPath: './src_client/build/', filename: 'bundle.js', library: 'bundle', libraryTarget: 'umd', umdNamedDefine: true }, module: { loaders: [ {test: /\.css$/, loader: "style-loader!css-loader" }, {test: /\.scss$/, loaders: ["style-loader", "css-loader", "sass-loader"] }, {test: /\.jsx?$/, loader: 'babel-loader', exclude: /node_modules/, query: { presets: ['es2015', 'react'] } } ] }, resolve: { alias: { }, extensions: ['.js', '.jsx'] }, plugins: [] };