UNPKG

react-flex-layout

Version:
30 lines (29 loc) 645 B
module.exports = { entry: ['./lib/index.js'], output: { path: './dist', filename: 'react-flex-layout.min.js', libraryTarget: 'umd' }, module: { loaders: [ { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'}, { test: /\.jsx$/, exclude: /node_modules/, loader: 'babel-loader'}, { test: /\.css$/, loader: 'style!css' } ] }, externals: { react: { root: 'React', commonjs: 'react', commonjs2: 'react', amd: 'react' }, "react-dom":{ root: 'ReactDOM', commonjs: 'react-dom', commonjs2: 'react-dom', amd: 'react-dom' } } }