Skip to content
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

Adds Webpack configuration for bundling our JavaScript #252

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ log/
#test/
src/virtualhosts/log
src/virtualhosts/output
node_modules
src/virtualhosts/www/javascript/bundle.js
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "snac",
"version": "1.0.0",
"description": "SNAC Cooperative Frontend JavaScripts",
"main": "main.js",
"repository": "blank",
"author": "Derik Ramirez <[email protected]>",
"license": "Private",
"private": true,
"dependencies": {
"babel-core": "^6.26.3",
"babel-loader": "7",
"webpack": "^4.43.0"
},
"scripts": {
"build-dev": "webpack",
"build-prod": "webpack -p --env production"
},
"devDependencies": {
"webpack-cli": "^3.3.11"
}
}
1 change: 1 addition & 0 deletions src/virtualhosts/www/javascript/bundle.js.map

Large diffs are not rendered by default.

2,843 changes: 3 additions & 2,840 deletions src/virtualhosts/www/javascript/edit_scripts.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/virtualhosts/www/javascript/edit_scripts.js.map

Large diffs are not rendered by default.

184 changes: 3 additions & 181 deletions src/virtualhosts/www/javascript/resource_admin.js

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

Loading