Initial commit (Now with npm installation)

This commit is contained in:
2018-05-27 21:43:03 -07:00
commit 1ff26cba6d
9 changed files with 16933 additions and 0 deletions

24
webpack.config.js Normal file
View File

@ -0,0 +1,24 @@
var path = require('path');
module.exports = {
mode: 'production',
entry: './src/Image.jsx',
output: {
path: path.resolve('lib'),
filename: 'index.js',
libraryTarget: 'commonjs2'
},
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /(node_modules)/,
use: 'babel-loader'
},
{
test: /\.css$/,
use: [ 'style-loader', 'css-loader' ]
}
]
}
}