oj-plugin

2.1.0 • Public • Published

oj-plugin

Webpack plugin to replace conflicting code from Oracle Jet's ojs/ojcore file

Installation

yarn add --dev oj-plugin

How to use

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"
  })
]

What it does

Check the replacements done in the index.js. They are a few but are documented.

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Package Sidebar

Install

npm i oj-plugin

Weekly Downloads

2

Version

2.1.0

License

MIT

Last publish

Collaborators

  • talabes