|
1 | 1 | /*jshint node:true*/
|
2 | 2 | /* global require, module */
|
3 |
| -var EmberApp = require('ember-cli/lib/broccoli/ember-app'); |
| 3 | +var EmberApp = require("ember-cli/lib/broccoli/ember-app"); |
4 | 4 |
|
5 | 5 | module.exports = function(defaults) {
|
6 | 6 | var env = EmberApp.env() || "development";
|
7 |
| - var isProductionLikeBuild = ['production', 'staging'].indexOf(env) > -1; |
| 7 | + var isProductionLikeBuild = ["production", "staging"].indexOf(env) > -1; |
8 | 8 | var fingerprintOptions = {
|
9 | 9 | enabled: true,
|
10 |
| - extensions: ['js', 'css', 'png', 'jpg', 'gif'] |
| 10 | + extensions: ["js", "css", "png", "jpg", "gif"] |
11 | 11 | };
|
12 | 12 |
|
13 | 13 | switch (env) {
|
@@ -42,33 +42,33 @@ module.exports = function(defaults) {
|
42 | 42 | dotEnv: {
|
43 | 43 | clientAllowedKeys: ["CLOUDINARY_CLOUD_NAME"],
|
44 | 44 | path: {
|
45 |
| - development: '.env', |
46 |
| - test: '.env.test', |
47 |
| - production: '.env.production' |
| 45 | + development: ".env", |
| 46 | + test: ".env.test", |
| 47 | + production: ".env.production" |
48 | 48 | }
|
49 | 49 | }
|
50 | 50 | });
|
51 | 51 |
|
52 |
| - app.import('bower_components/tether/dist/js/tether.js'); |
53 |
| - app.import('bower_components/tether/dist/css/tether.css'); |
54 |
| - app.import('bower_components/bootstrap/dist/js/bootstrap.js'); |
55 |
| - app.import('bower_components/bootstrap/dist/css/bootstrap.css'); |
56 |
| - app.import('bower_components/moment/moment.js'); |
57 |
| - app.import('bower_components/moment-timezone/builds/moment-timezone-with-data-2010-2020.js'); |
58 |
| - app.import('bower_components/bootstrap-markdown/js/bootstrap-markdown.js'); |
59 |
| - app.import('bower_components/bootstrap-markdown/css/bootstrap-markdown.min.css'); |
60 |
| - app.import('bower_components/marked/lib/marked.js'); |
61 |
| - app.import('bower_components/pace/pace.js'); |
62 |
| - app.import('bower_components/pace/themes/purple/pace-theme-center-simple.css'); |
63 |
| - app.import('bower_components/ember-uploader/dist/ember-uploader.named-amd.js'); |
64 |
| - app.import('vendor/fontello/css/fontello.css'); |
| 52 | + app.import("bower_components/tether/dist/js/tether.js"); |
| 53 | + app.import("bower_components/tether/dist/css/tether.css"); |
| 54 | + app.import("bower_components/bootstrap/dist/js/bootstrap.js"); |
| 55 | + app.import("bower_components/bootstrap/dist/css/bootstrap.css"); |
| 56 | + app.import("bower_components/moment/moment.js"); |
| 57 | + app.import("bower_components/moment-timezone/builds/moment-timezone-with-data-2010-2020.js"); |
| 58 | + app.import("bower_components/bootstrap-markdown/js/bootstrap-markdown.js"); |
| 59 | + app.import("bower_components/bootstrap-markdown/css/bootstrap-markdown.min.css"); |
| 60 | + app.import("bower_components/marked/lib/marked.js"); |
| 61 | + app.import("bower_components/pace/pace.js"); |
| 62 | + app.import("bower_components/pace/themes/purple/pace-theme-center-simple.css"); |
| 63 | + app.import("bower_components/ember-uploader/dist/ember-uploader.named-amd.js"); |
| 64 | + app.import("vendor/fontello/css/fontello.css"); |
65 | 65 |
|
66 |
| - var mergeTrees = require('broccoli-merge-trees'); |
67 |
| - var pickFiles = require('broccoli-static-compiler'); |
68 |
| - var customFonts = pickFiles('vendor/fontello/font', { |
69 |
| - srcDir: '/', |
70 |
| - files: ['**/*'], |
71 |
| - destDir: '/font' |
| 66 | + var mergeTrees = require("broccoli-merge-trees"); |
| 67 | + var pickFiles = require("broccoli-static-compiler"); |
| 68 | + var customFonts = pickFiles("vendor/fontello/font", { |
| 69 | + srcDir: "/", |
| 70 | + files: ["**/*"], |
| 71 | + destDir: "/font" |
72 | 72 | });
|
73 | 73 |
|
74 | 74 | return mergeTrees([app.toTree(), customFonts]);
|
|
0 commit comments