mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Fast rebuilds.
This commit is contained in:
parent
a771952339
commit
8e674928ea
3 changed files with 11 additions and 17 deletions
|
@ -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/',
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"name": "device-list",
|
||||
"version": "0.0.1"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue