Webpack plugin to replace conflicting code from Oracle Jet's ojs/ojcore
file
yarn add --dev oj-plugin
const ojPlugin = require('oj-plugin');
//...
plugins: [
// ...
new ojPlugin()
]
plugins: [
// ...
new ojPlugin({
// plugin default path
ojCorePath: "node_modules/oraclejet/dist/js/libs/oj/debug/ojcore.js"
})
]
Check the replacements done in the index.js. They are a few but are documented.