This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* On server, just register all of the resources directly to the plugin. On the client, pass in a loader file that maps bundle | |
* name to webpack bundle require (a separate entry point). Then from your action, you can call `context.loadBundle` to load | |
* the bundle resources. On the server, the resources are already available but on the client they will be lazy loaded by | |
* webpack. | |
*/ | |
'use strict'; | |
var debug = require('debug')('BundlePlugin'); | |
var PromiseLib = global.Promise || require('es6-promise').Promise; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
set -x | |
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) | |
do | |
npm -g install "$package" | |
done |