Skip to content

Commit

Permalink
- Add transpiling source code before publishing (no need to exclude /…
Browse files Browse the repository at this point in the history
…node_modules(?!(\/|\\)@DeleteAgency)/ in babel-loader)

- Separate standalone and demo builds
  • Loading branch information
anton-github committed Oct 29, 2019
1 parent 6927303 commit 88b05ec
Show file tree
Hide file tree
Showing 15 changed files with 1,167 additions and 1,096 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.idea
node_modules
node_modules
coverage
lib
standalone
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.idea
coverage/
examples/
node_modules/
tests/
demo/
index.html
webpack.*.js
*.config.js
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
['@babel/preset-env']
],
};
2 changes: 0 additions & 2 deletions build/dc.min.js

This file was deleted.

1 change: 0 additions & 1 deletion build/dc.min.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions demo/dist/dc.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/dist/dc.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>DC examples</title>
<title>DC demo</title>
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
Expand All @@ -15,7 +15,7 @@
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.17.1/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@deleteagency/live-highlight@0.0.1/build/live-highlight.min.js"></script>

<script src="build/dc.min.js"></script>
<script src="demo/dist/dc.min.js"></script>
</head>

<script>
Expand Down
9 changes: 0 additions & 9 deletions index.js

This file was deleted.

Loading

0 comments on commit 88b05ec

Please sign in to comment.