draftjs-to-html
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,3 +0,3 @@ | ||
const path = require('path'); | ||
const webpack = require('webpack'); | ||
var path = require('path'); | ||
var webpack = require('webpack'); | ||
@@ -7,3 +7,3 @@ module.exports = { | ||
entry: [ | ||
'./js/index', | ||
'./js/index' | ||
], | ||
@@ -13,2 +13,3 @@ output: { | ||
filename: 'index.js', | ||
libraryTarget: 'commonjs2', | ||
}, | ||
@@ -19,19 +20,18 @@ plugins: [ | ||
'process.env': { | ||
NODE_ENV: JSON.stringify('production'), | ||
}, | ||
'NODE_ENV': JSON.stringify('production') | ||
} | ||
}), | ||
new webpack.optimize.UglifyJsPlugin({ | ||
compressor: { | ||
warnings: false, | ||
}, | ||
}), | ||
warnings: false | ||
} | ||
}) | ||
], | ||
module: { | ||
loaders: [ | ||
{ test: /\.js$/, loader: 'babel-loader' }, | ||
], | ||
}, | ||
resolve: { | ||
extensions: ['', '.js', '.json'], | ||
}, | ||
loaders: [{ | ||
test: /\.js$/, | ||
loaders: ['babel'], | ||
include: path.join(__dirname, '../js') | ||
}] | ||
} | ||
}; |
{ | ||
"name": "draftjs-to-html", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A library for draftjs to html conversion.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3422854
1974