Skip to content

Commit

Permalink
feat(workflow): Restructure webpack config, thus reform workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dwiyatci committed Jun 8, 2016
1 parent 661d3a6 commit 1cb9a6f
Show file tree
Hide file tree
Showing 12 changed files with 83 additions and 61 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Created by .ignore support plugin (hsz.mobi)
.DS_Store
.idea
node_modules
coverage
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ before_script:
- npm prune
script:
- npm run cov
- npm run build
after_success:
- npm run cov:report
- npm run semantic-release
Expand Down
1 change: 0 additions & 1 deletion build/demo/app.js

This file was deleted.

12 changes: 1 addition & 11 deletions demo/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8">
<title>hodor-loader Demo</title>
</head>
<link rel="shortcut icon" href="favicon.ico"></head>
<body>
<div id="app"></div>
</body>
<script type="text/javascript" src="app.js"></script></body>
</html>
11 changes: 11 additions & 0 deletions demo/src/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* Created by glenn on 01/06/16.
*/

console.log(hodorify('hello, world'));

document.querySelector('#app').textContent = hodorify('the quick brown fox jumps over a lazy dog');

//alert(hodorify("hold the door"));

document.writeln(hodorify("hold, the; door!"));
File renamed without changes.
4 changes: 2 additions & 2 deletions build/demo/index.html → demo/src/index.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8">
<title>hodor-loader Demo</title>
<link rel="shortcut icon" href="/favicon.ico"></head>
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="/app.js"></script></body>
</body>
</html>
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1cb9a6f

Please sign in to comment.