This package has been deprecated
Author message:
babel-plugin-graphql-raw has been DEPRECATED in favor of babel-plugin-inline-import. Please use it instead.
babel-plugin-graphql-raw
1.0.0 • Public • Published babel-plugin-graphql-raw
Wrap file with iife.
Install
With npm do:
npm i babel-plugin-graphql-raw --D
Example
Input
Output
;(function () {
window.a = 1;
}());
Usage
In your Babel configuration:
{
"plugins": ["graphql-raw"]
}
Contributing
Pull requests are welcome. If you add functionality, then please add unit tests
to cover it.
License
MIT © Quadric ApS
Versions
Current Tags
- VersionDownloads (Last 7 Days)
Version History
- VersionDownloads (Last 7 Days)
Package Sidebar
Install
npm i babel-plugin-graphql-raw
Weekly Downloads