Skip to content

Move index.js to web_src and use webpack to pack them #8598

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
browser: true
jquery: true
es6: true
node: true

globals:
Clipboard: false
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ npm-update: npm-check

.PHONY: js
js: npm
npx eslint public/js
npx eslint web_src/js webpack.config.js
npx webpack

.PHONY: css
css: npm
Expand Down
1,639 changes: 1,283 additions & 356 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"postcss-cli": "6.1.3",
"stylelint": "10.1.0",
"stylelint-config-standard": "18.3.0",
"updates": "8.5.3"
"updates": "8.5.3",
"webpack": "4.41.2",
"webpack-cli": "3.3.10"
},
"browserslist": [
"> 1%",
Expand Down
Loading