You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
458 B
25 lines
458 B
module.exports = {
|
|
entry: {
|
|
// https://github.com/webpack/webpack/issues/300
|
|
lib: ['./index.js'],
|
|
examples: './examples/index.jsx',
|
|
},
|
|
output: {
|
|
filename: './[name]/index.js',
|
|
libraryTarget: 'umd',
|
|
library: 'tweenState',
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.jsx?$/,
|
|
exclude: /node_modules/,
|
|
loader: 'babel?stage=0',
|
|
},
|
|
]
|
|
},
|
|
resolve: {
|
|
extensions: ['', '.js', '.jsx']
|
|
}
|
|
};
|