-
Notifications
You must be signed in to change notification settings - Fork 153
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
@kanaabe => Replace Browserify with Webpack #1785
Conversation
de9b28d
to
1dbe6c7
Compare
scripts/start.sh
Outdated
@@ -2,4 +2,4 @@ | |||
|
|||
set -e -x | |||
|
|||
forever -c 'node -r dotenv/config --max_old_space_size=1024' . | |||
forever -c 'node -r dotenv/config --max_old_space_size=1024' . --colors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forever
eats up aspects of sub-dep stdout
, hence the new dev
task
aeb96e1
to
6aaba00
Compare
@@ -115,15 +115,14 @@ if sharify | |||
!= sharify.script() | |||
|
|||
//- Add Google's jQuery | |||
script( src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js" ) | |||
//- script( src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@craigspaeth - any idea why this is here? We're bundling jQuery into common.js
below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be irrelevant now, but pre-jQuery supporting common js we mixed CDN dependencies with modules. I believe there's plenty of code around Force that still depends on a global $
object, so if we remove this let's make sure to expose it via window.$ = window.jQuery = require('jquery')
around here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bit here should take care of that: https://github.com/artsy/force/pull/1785/files#diff-11e9f7f953edc64ba14b0cc350ae7b9dR86
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, works for me!
091184f
to
6aaba00
Compare
6aaba00
to
84449f6
Compare
58820a3
to
33bce14
Compare
7a88440
to
61f8233
Compare
Ok @kanaabe - I believe this is done! Was able to fix another Would you mind pulling down again and giving it another good spin, including mobile? |
b7eb6fb
to
6c47214
Compare
75b05cf
to
5ba12dd
Compare
Desktop looks solid but noticed a couple things on mobile. Article Impressions on: http://localhost:5000/article/artsy-editorial-17-emerging-artists-to-watch-in-2017 Inquiry: http://localhost:5000/inquiry/nerhol-01-slash-6-dot-7-2015 Error in |
Ugh I keep chasing things that I thought were fixed; one sec! |
d825abe
to
8e82b76
Compare
8e82b76
to
eefcce1
Compare
@kanaabe - this is 🍏 (finalllly) - Also, caught an unrelated bug in artsy/reaction#494 while testing so once that's merged I'll bump reaction version and update in force. |
📗 |
This brings Webpack into the mix, following Positron, Prediction, Volt, etc.
TODO:
yarn
script foryarn link @artsy/reaction-force && yarn start
babel-plugin-styled-components
works properly in DEV/about
:Uncaught Error: No handler option passed to Waypoint constructor
Other Additions