0.0.12 • Published 9 years ago

ts-resource-import v0.0.12

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

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago