This commit is contained in:
29
node_modules/react-scroll-sync/webpack.config.js
generated
vendored
Normal file
29
node_modules/react-scroll-sync/webpack.config.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
/* global __dirname */
|
||||
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.js',
|
||||
devtool: 'source-map',
|
||||
output: {
|
||||
path: path.join(__dirname, 'dist'),
|
||||
filename: 'index.js',
|
||||
libraryTarget: 'umd',
|
||||
library: 'ScrollSync'
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
include: [
|
||||
path.resolve(__dirname, 'src')
|
||||
],
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader'
|
||||
}
|
||||
]
|
||||
},
|
||||
externals: {
|
||||
react: 'react',
|
||||
'react-dom': 'react-dom'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user