Commit Graph

12 Commits

Author SHA1 Message Date
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
de60291b46 Merge pull request #1686 from andrewklau/patch-1
Load tether
2016-08-13 07:53:33 -07: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
Andrew Lau
25cfd61378 Load tether 2016-08-08 15:16:21 +10:00
WatsonWeb
1ce8b1df71 Remove path.extname() check
Remove path.extname() check to fix build:production task.

Currently path.extname() is being supplied an object when it expects a string, resulting in a fatal error during production builds.

Removal is the cleanest solution as it's an unnecessary check, assets[name] will always be an object.
2016-07-02 03:46:16 -05:00
Patrick Vézina
f89c550d36 webpack - various ameliorations 2016-03-30 10:03:18 -04:00
Patrick Vézina
c2658fc5b2 add image-webpack-loader; keep subfolder(s) for images & fonts: 'dist/images/foo/bar.jpg' 2016-03-24 11:07:45 -04:00
Patrick Vézina
9bb62336a8 remove env variable in npm scrpts; rename watch script for clarity 2016-03-15 22:14:04 -04:00
Patrick Vézina
8e2aeb53ab images & fonts : keep the same name 2016-03-15 11:25:50 -04:00
Patrick Vézina
7fa53e3e37 remove SAGE_ENV; uses webpack -d/-p flags; add config file; subfolders in dist/ 2016-03-15 10:47:02 -04:00
Patrick Vézina
7d1baa0fe7 webpack implementation 2016-03-13 17:08:30 -04:00