Strips off plugin prefixes from all define and require calls
npm install babel-plugin-strip-requirejs-plugin-prefixThis is a Babel plugin for removing the plugin prefixes from module requirements in require and define calls.
It turns define or require calls like this:
```
define(['es6!some-module-1', 'normal-module'], function () { ... })
into
``
define(['some-module-1', 'normal-module'], function () { ... })
Pretty simple huh!
`
npm install --save-dev babel-plugin-strip-requirejs-plugin-prefix
`Then in your babel configuration, add
'strip-requirejs-plugin-prefix' to your set of plugins:`
{
'plugins': [
['strip-requirejs-plugin-prefix', { plugin: 'es6'}]
]
}
``