Guest User

Untitled

a guest
Aug 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. import { Links } from 'api/resources';
  2.  
  3. "paths": {
  4. "api/*": ["./src/api/*"]
  5. }
  6.  
  7. import * as Links from './links';
  8.  
  9. export {Links};
  10.  
  11. npm install --save-dev babel-plugin-module-resolver
  12.  
  13. "plugins": [
  14. "transform-runtime",
  15. "transform-export-extensions",
  16. "transform-object-rest-spread",
  17. [
  18. "module-resolver", {
  19. "root": ["./src"],
  20. "alias": {
  21. "api": "./src/api"
  22. }
  23. }
  24. ]
  25.  
  26. import {Links} from 'resources/index';
Add Comment
Please, Sign In to add comment