Skip to content

Commit

Permalink
Don't include json-schema-ref-parser because it breaks the UMD build …
Browse files Browse the repository at this point in the history
…without error
  • Loading branch information
nickgros committed Apr 20, 2021
1 parent 2886f9a commit 375383a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default {
'react-transition-group',
'sql-parser',
'universal-cookie',
'json-schema-ref-parser', // bundling this results in a non-functional build (without error). see PORTALS-1907
],
onwarn: function (args) {
// Skip certain warnings
Expand All @@ -72,10 +73,10 @@ export default {
},
// NOTE - the order matters for the extensions below
plugins: [
resolve({ extensions, browser: true, preferBuiltins: true }),
resolve({ extensions, browser: true, preferBuiltins: false }),
babel({
extensions,
exclude: 'node_modules/*.*',
exclude: 'node_modules/**',
}),
// Common js is used to handle the import of older javascript modules not using es6
commonjs(),
Expand Down

0 comments on commit 375383a

Please sign in to comment.