Commit Graph

166 Commits

Author SHA1 Message Date
Joshua Geschwendt
8388805ba9 Fix to load optimization config (#1762)
closes #1761
2016-12-01 09:08:09 -08:00
QWp6t
e6e60aa8c1 Use new webpack api schema 2016-11-15 02:46:09 -08:00
QWp6t
70ebba7d80 Update dependencies 2016-11-15 00:34:42 -08:00
Ben Word
8ac5f153b8 Variables organization 2016-11-14 23:17:55 -07:00
QWp6t
e7fccbe0bf Use $.fn.ready() (reverts 724d550) 2016-11-07 01:51:18 -08:00
QWp6t
8c9ba0546b Reorganize and refactor build routine 2016-11-06 22:31:49 -08:00
QWp6t
c1bb2b3a27 Switch assets manifest plugin 2016-11-06 20:32:47 -08:00
QWp6t
c49793cd3d Add images to assets manifest 2016-11-06 19:40:13 -08:00
QWp6t
0d38ab8391 Switch from babel to buble 2016-11-03 09:05:07 -07:00
QWp6t
eae52fd7ea Update dependencies & webpack compatibility (BREAKING CHANGES) 2016-11-03 08:38:22 -07:00
QWp6t
e6f2f494b0 Use http by default (not https) to be consistent with Trellis 2016-11-03 08:35:44 -07:00
Allan Chau
e4d8be1642 Add support for .ico files (#1740) 2016-11-03 01:53:21 -07:00
Patrick Vézina
09497e7df9 Fix browserSyncOptions in config.js not being passed to BrowserSync (#1732)
See: https://discourse.roots.io/t/sage-9-configure-browsersync/7808
2016-10-05 17:01:09 -07:00
Patrick Vézina
b5a321fb45 Fix duplicate value of watch option Array (#1733) 2016-10-05 16:51:10 -07:00
QWp6t
953a8ab5d6 Define WEBPACK_PUBLIC_PATH in webpack.config.js
Move WEBPACK_PUBLIC_PATH back to webpack.config.js

- Reverses a change made in 10899cf
- Closes #1718
2016-09-12 23:47:11 -07:00
QWp6t
b79f389170 Comply with new eslint rules 2016-09-11 18:48:34 -07:00
QWp6t
c96905b075 Use closure instead of doneCompiling() method. Fixes #1717 2016-09-11 18:47:46 -07:00
QWp6t
10899cf2cd Fix webpack HMR 2016-09-11 11:39:48 -07:00
QWp6t
724d550739 Use native DOMContentLoaded event 2016-09-11 11:17:03 -07:00
QWp6t
697751009b Remove redundant eslint rule exception 2016-09-09 04:31:19 -07:00
QWp6t
f6bdc7b48c Refactor build routine and switch to airbnb style (#1703)
- Relocate webpack stuff to assets/build
- Switch all js to airbnb code style
- Update webpack to v2.0 (beta)
- Update all other dependencies
- Assets manifest uses relative path as key [1]
- Code should be compatible with Node 4.5.0
- All dependencies have been updated

[1]: Previously the assets manifest would use the basename of a file path as
its key when looking up a cachebusted file. This was to be consistent with
Sage 8. This change makes it so that the relative path is used instead.

To clarify, review the following example.

Before:
```
{
  "main.js": "scripts/main_5f4bfc9a9f82291c6dea.js",
  "main.css": "styles/main_5f4bfc9a9f82291c6dea.css",
  "customizer.js": "scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```

After:
```
{
  "scripts/main.js":"scripts/main_5f4bfc9a9f82291c6dea.js",
  "styles/main.css":"styles/main_5f4bfc9a9f82291c6dea.css",
  "scripts/customizer.js":"scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```
2016-09-04 19:13:16 -07:00
Darren Jacoby
546f54c97a Update _grid.scss to use @include make-col-ready() mixin 2016-09-02 09:07:55 +02:00
Patrick Vézina
7623ad0511 Set dynamically aboslute public path on 'npm run watch'; fix http/htt… (#1696)
* Set dynamically aboslute public path on 'npm run watch'; fix http/https hardcoded in watch.js

* WEBPACK_PUBLIC_PATH fix
2016-08-26 11:45:50 -06:00
Patrick Vézina
97c1a307ec move assets found in node_modules/ to dist/vendor; simpler assets/config.json (#1697) 2016-08-26 11:34:52 -06:00
QWp6t
4d58f88166 Squashing asset pipeline bugs and other stuff
1. Update dependencies
   - Add font-awesome as dependency
   - Switch to Bootstrap 4 dev branch
   - Remove eslint airbnb style (we're not using it)

2. Imported images and fonts should go into dist/images
   and dist/fonts, respectively

3. Only lint our own code, not external code (fixes #1633)
2016-08-13 07:49:43 -07:00
QWp6t
447c24d082 Update dependencies, incl Bootstrap 4 alpha 3 2016-08-06 18:51:06 -07:00
Ben Word
91363795e8 Update comment for importing deps 2016-07-16 13:59:45 -06:00
Ben Word
cc32225d68 Boostrap 2016-07-16 13:59:02 -06:00
QWp6t
320c6916dc Use shorthand syntax in main.js routes 2016-07-16 10:14:57 -07:00
QWp6t
339cc8e01e router doesn't require jQuery. use default params 2016-07-16 10:02:03 -07:00
QWp6t
f34af480db Convert scripts to es6 2016-07-16 02:17:16 -07:00
PTiCA1
83ee29fc47 Sage 9 - fix bootstrap4 styles (#1642)
Update after Bootstrap 4 class name changes
2016-05-03 10:54:25 -04:00
Ben Word
f5aaf3b18c Consistency 2016-04-02 23:33:55 -05:00
Patrick Vézina
f89c550d36 webpack - various ameliorations 2016-03-30 10:03:18 -04:00
Patrick Vézina
1a8935370e bootstrap 4 flex grid 2016-03-26 14:54:34 -04:00
Patrick Vézina
7d1baa0fe7 webpack implementation 2016-03-13 17:08:30 -04:00
Ben Word
5551ddebfa Fix BS4 grid after their grid updates 2016-03-11 18:06:28 -05:00
QWp6t
c9ef232ec1 bootstrap 4 2016-03-11 18:00:06 -05:00
Ben Word
1b9c0a3398 Missed in 269346d 2015-12-10 15:40:37 -06:00
Ben Word
269346ddde Remove unnecessary underscore 2015-11-18 23:15:40 -06:00
Ben Word
1607f6e371 Add support for theme customizer 2015-11-09 13:25:04 -06:00
88mpg
24bcc412bc wp-classes alignment (right, left, center) height set to auto for proper scaling 2015-10-30 13:16:57 -04:00
88mpg
f804b0137f add auto height to .alignnone to prevent vertical stretch of fullwidth image 2015-10-16 15:58:16 -04:00
Julien Melissas
5a621210db Removed editor-style style files in favor of adding a simple _tinymce.scss partial. This cuts styles compiling time in about half.
`add_editor_style` now just references `main.css`
2015-10-13 11:51:57 -04:00
Ben Word
9a14571814 Use Sass to style search form, remove search template 2015-10-10 12:53:19 -05:00
Ben Word
4281e6f932 Remove Modernizr 2015-10-10 12:37:44 -05:00
Palaniappan
8d9a56670f Update newer versions of dependencies
Update Bootstrap sass and rename

Update main.scss

Update newer versions of dependencies

Update newer versions of dependencies

Update Bootstrap sass and rename

Update package
2015-08-23 14:07:14 +05:30
Kalen Johnson
7175cc833b Fix jQuery being compiled in main.js
Cause that happened, not blaming anyone
2015-06-17 14:58:03 -07:00
Ben Word
d6878cb4b0 Remove unnecessary references to jQuery 2015-05-14 14:12:04 -05:00
Julien Melissas
a16475c1ad Removed jQuery CDN info. [ci-skip]
Now that the CDN option is in soil, there's no need for this information to be in the file (and it was outdated).
2015-05-09 15:24:16 -04:00