1.10.4 • Published 4 years ago

library-loader v1.10.4

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

npm node

npm install --save-dev lib-loader

By default the libname of the resulting lib is the MD5 hash of the lib's contents with the original extension of the required resource.

import myLibUrl from 'lib-loader?myLib!./lib.js'

html

<script src="${myLibUrl}"></script>
<script>
  myLib.doSomeThing();
</script>
1.10.4

4 years ago

1.10.3

4 years ago

1.10.2

4 years ago

1.10.1

4 years ago

1.10.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago