diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 25e5306..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,62 +0,0 @@ -'use strict'; - -var webpack = require('webpack'); - -var config = { - - entry: './lib/index', - - output: { - path: './dist/', - filename: 'react-textarea-autosize.min.js', - library: 'ReactTextareaAutosize', - libraryTarget: 'umd' - }, - - cache: false, - debug: true, - - stats: { - colors: true, - reasons: true - }, - - plugins: [ - // new webpack.optimize.OccurenceOrderPlugin(), - new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), - // new webpack.optimize.UglifyJsPlugin({minimize: true}) - ], - - resolve: { - extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx'] - }, - - externals: [{ - "react": { - root: "react", - commonjs2: "react", - commonjs: "react", - amd: "react" - } - }, { - "react/addons": { - root: "react/addons", - commonjs2: "react/addons", - commonjs: "react/addons", - amd: "react/addons" - } - }], - - module: { - loaders: [{ - test: /\.css$/, - loader: 'style-loader!css-loader!' - }, { - test: /\.jsx?$/, - exclude: /node_modules/, - loader: 'babel-loader' - }] - } -}; - -module.exports = config; |