Skip to content

Commit

Permalink
fix publicPath for netlify deploy previews (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
epicfaace authored and edi9999 committed Aug 15, 2019
1 parent 20ff3b9 commit 90f50c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
output: {
path: path.join(__dirname, "build"),
filename: "bundle.js",
publicPath: "/react-jsonschema-form/"
publicPath: process.env.SHOW_NETLIFY_BADGE ? "": "/react-jsonschema-form/"
},
plugins: [
new MonacoWebpackPlugin({
Expand Down

0 comments on commit 90f50c3

Please sign in to comment.