diff options
author | Francesco <firefelix@gmail.com> | 2015-06-10 14:12:03 +0200 |
---|---|---|
committer | Francesco <firefelix@gmail.com> | 2015-06-10 14:21:06 +0200 |
commit | 393e800c8be43cef75303ac48ce8b43d535ca9f1 (patch) | |
tree | 677fc9b19acd18c322458a1652fc328c982f8c51 /webpack.config.js | |
parent | 4ce236995fc6bce4956e8316ddb824444fcada64 (diff) | |
download | react-autosize-textarea-393e800c8be43cef75303ac48ce8b43d535ca9f1.zip react-autosize-textarea-393e800c8be43cef75303ac48ce8b43d535ca9f1.tar.gz react-autosize-textarea-393e800c8be43cef75303ac48ce8b43d535ca9f1.tar.bz2 |
refactored repo structure using web-lib-seed. Fix #1
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; |