1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 03:50:04 +02:00

Fast rebuilds.

This commit is contained in:
Gunther Brunner 2014-02-18 14:48:34 +09:00
parent a771952339
commit 8e674928ea
3 changed files with 11 additions and 17 deletions

View file

@ -45,7 +45,7 @@ module.exports = function(options) {
app.use(webpackMiddleware(webpack( {
cache: true,
debug: true,
devtool: 'inline-source-map',
devtool: 'eval',
entry: pathutil.resource('app') + '/entry.js',
output: {
path: '/static/build/',

View file

@ -1,13 +1,11 @@
require('angular')
require('angular-route')
var app = angular.module('app', [
angular.module('app', [
'ngRoute',
require('./components/device-list').name
])
app.config(['$routeProvider', '$locationProvider',
.config(['$routeProvider', '$locationProvider',
function ($routeProvider, $locationProvider) {
$locationProvider.hashPrefix('!');
$routeProvider

View file

@ -1,4 +0,0 @@
{
"name": "device-list",
"version": "0.0.1"
}