UNPKG

react-loadermixin

Version:

A React mixin for giving components loading behavior

20 lines (18 loc) 459 B
path = require 'path' webpack = require 'webpack' module.exports = entry: path.join __dirname, 'src', 'index.coffee' output: path: path.join __dirname, 'standalone' filename: 'react-loadermixin.js' library: 'ReactLoaderMixin' libraryTarget: 'umd' target: 'web' externals: ['React', react: 'React'] module: loaders: [ {test: /\.coffee$/, loader: 'coffee'} ] plugins: [ new webpack.optimize.UglifyJsPlugin() ]