0.0.12 • Published 7 years ago

ts-resource-import v0.0.12

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

This is a very hacky script to make imports work for files. Lets see if it works for us and if it does we can make it nice and do a proper publish.

In es6 react + babel setup we can do:

import myImage from 'resources/images/myImage.png'

Now with this script we can do:

import { myImage } from 'resources/images'

Note that this now works with autocomplete inside the IDE.

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago