Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with other customizable markdown standards #28

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 Jyoti Puri
Copyright (c) 2021 Walisson Rodrigo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
9 changes: 3 additions & 6 deletions config/webpack.prod.config.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
var path = require("path");
var webpack = require("webpack");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");

module.exports = {
devtool: "source-map",
mode: 'production',
entry: ["./js/index"],
output: {
path: path.join(__dirname, "../lib"),
filename: "draftjs-to-markdown.js",
library: "draftjsToMarkdown",
filename: "draftjs-to-markdown-v2.js",
library: "draftjsToMarkdownV2",
libraryTarget: "umd"
},
optimization: {
minimizer: [new UglifyJsPlugin()]
},
plugins: [
new webpack.DefinePlugin({
"process.env": {
Expand Down
Loading