Skip to content

Commit

Permalink
Replaced babal gulp based by webpack.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo committed Aug 18, 2020
1 parent ce924bd commit fcc24ef
Show file tree
Hide file tree
Showing 12 changed files with 2,592 additions and 2,653 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

153 changes: 0 additions & 153 deletions dist/DOMElementRelocation.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/DOMElementRelocation.js.map

This file was deleted.

5 changes: 5 additions & 0 deletions dist/DOMElementRelocation.min.js

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

26 changes: 10 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
{
"name": "dom_element_relocation",
"version": "1.0.0",
"version": "1.0.2",
"main": "DOMElementRelocation.js",
"repository": "git@github.com:frontid/DOMElementRelocation.git",
"author": "Marcelo Tosco @capynet <marcelo@front.id>",
"license": "MIT",
"devDependencies": {},
"scripts": {
"build": "gulp build",
"watch": "gulp watch"
"build": "webpack --config webpack.prod.js",
"watch": "webpack --watch --info-verbosity verbose --config webpack.dev.js"
},
"dependencies": {
"babel-core": "^6.26.3",
"babel-polyfill": "^6.26.0",
"babel-preset-airbnb": "^2.5.3",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babelify": "^8.0.0",
"del": "^3.0.0",
"gulp": "^4.0.0",
"gulp-browserify": "^0.5.1",
"gulp-sourcemaps": "^2.6.4",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0"
"@babel/core": "^7.11.1",
"@babel/preset-env": "^7.11.0",
"babel-loader": "^8.1.0",
"extract-loader": "^5.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.1.1"
}
}
4 changes: 2 additions & 2 deletions sample/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2>Resize the browser, "Logo" & "Search box" will be repositioned.</h2>
<pre><code class="xml">
<!-- https://github.com/frontid/mediaQueryEvents/releases/tag/v1.0.0 -->
<script src="js/mediaQueryEvents.jquery.js"></script>
<script src="js/DOMElementRelocation.js"></script>
<script src="js/DOMElementRelocation.min.js"></script>
</code></pre>

<pre><code class="javascript">
Expand Down Expand Up @@ -111,7 +111,7 @@ <h2>Resize the browser, "Logo" & "Search box" will be repositioned.</h2>
</script>

<script src="js/mediaQueryEvents.jquery.js"></script>
<script src="./js/DOMElementRelocation.js"></script>
<script src="./js/DOMElementRelocation.min.js"></script>
<script src="./js/sample.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
Expand Down
Loading

0 comments on commit fcc24ef

Please sign in to comment.