Skip to content

Commit 644299b

Browse files
committed
Improve asset loading
1 parent 4c2ab0c commit 644299b

18 files changed

+946
-56
lines changed

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- Hot reloading (`npm start`)
1717
- UMD exports, so your library works everywhere.
1818
- Jest unit testing
19+
- Customizable file headers for your build [(Example 1)](https://github.com/hodgef/js-library-boilerplate-basic/blob/master/build/index.js) [(Example2)](https://github.com/hodgef/js-library-boilerplate-basic/blob/master/build/css/index.css)
1920
- Daily [dependabot](https://dependabot.com) dependency updates
2021

2122
## 📦 Getting Started
@@ -56,8 +57,6 @@ const libraryInstance = new MyLibrary();
5657
...
5758
```
5859

59-
> **Note:** In this minimal version, any images and css files you import will be added to the js bundle. If you want them as separate files, you can use [js-library-boilerplate](https://github.com/hodgef/js-library-boilerplate) or edit the Webpack config accordingly.
60-
6160
## ✅ Libraries built with this boilerplate
6261

6362
> Made a library using this starter kit? Share it here by [submitting a pull request](https://github.com/hodgef/js-library-boilerplate-basic/pulls)!

Diff for: build/822bbfdce814d98879ba.png

-1
This file was deleted.
File renamed without changes.

Diff for: build/css/index.css

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*!
2+
*
3+
* @hodgef/js-library-boilerplate-basic v1.6.0
4+
* https://github.com/hodgef/js-library-boilerplate-basic
5+
*
6+
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
7+
*
8+
* This source code is licensed under the MIT license found in the
9+
* LICENSE file in the root directory of this source tree.
10+
*
11+
*/body,html{font-family:sans-serif;height:100%;margin:0;padding:0}body{background:url(../942db92a36e5ac025548.png) no-repeat 98% 2%;box-sizing:border-box;height:100%;padding:20px}h1{font-weight:300;margin:0}

Diff for: build/css/index.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: demo/index.html

-22
This file was deleted.

Diff for: demo/main.css

Whitespace-only changes.

0 commit comments

Comments
 (0)