0.0.12 • Published 8 years ago

ts-resource-import v0.0.12

Weekly downloads
1
License
MIT
Repository
-
Last release
8 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

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago