- Get webpack stats into json file
NODE_ENV=production ./node_modules/.bin/webpack --config config/webpack.config.js --json > stats.json
- Upload your
stats.json
file to webpack-visualizer
NODE_ENV=production ./node_modules/.bin/webpack --config config/webpack.config.js --json > stats.json
stats.json
file to webpack-visualizer# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
(function() { | |
'use strict'; | |
// use new relic if license key exists | |
if (typeof process.env.NEW_RELIC_LICENSE_KEY === 'string') { | |
require('newrelic'); | |
} | |
var express = require('express'), |
(function() { | |
'use strict'; | |
angular | |
.module('app.services') | |
.factory('$ionicPlatformManager', $ionicPlatformManager) | |
; | |
/* @ngInject */ |