-
Notifications
You must be signed in to change notification settings - Fork 365
Conversation
👍 |
@@ -31,6 +29,7 @@ | |||
"gulp-cssimport": "3.0.2", | |||
"gulp-eslint": "2.0.0", | |||
"gulp-ext-replace": "^0.3.0", |
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.
remove ^
from gulp-ext-replace
, we want exact versions. Must have crept in there on another PR.
b7ab90c
to
cbce44f
Compare
Two rando points:
|
Need to wrap template scripts in self-initialized functions again. Exposing things like Otherwise 👍 |
Actually let's table these notes to their own PR:
Currently we only watch .js files so changing to |
50535e5
to
ce05e7b
Compare
Any more comments here? Opened tickets (.js and .liquid support and uglify vendor scripts) for Ryan's suggestions on our waffle board. |
var a11y = require('./../slate/a11y.js'); | ||
var rte = require('./../slate/rte.js'); | ||
window.slate = window.slate || {}; | ||
// =require ../slate/*.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.
this might be a bit dangerous. I reran the build with this branch and uri-helpers.js
didn't get removed from slate when I reran the yeoman generator. Due to the wildcard, that script got concatenated into globals and broke the js.
One last comment, but otherwise looks good. 🎩 👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
browserify
and associated packagesgulp-include
var = theme
in each layout filemodule.exports
totheme.module_name
(child ofwindow.theme
)uri-helpers.js
as it iss never usedproduct.js
,customers-login.js
andcustomers-addresses.js
Demo site - http://carson-dev-shop-2.myshopify.com/
Output JS - https://cdn.shopify.com/s/files/1/0780/8671/t/5/assets/theme.js?15778989300786398011
@Shopify/themes-fed